Struct NativeKeyValueArrays<TKey, TValue>
Syntax
public struct NativeKeyValueArrays<TKey, TValue> : IDisposable where TKey : struct where TValue : struct
Type Parameters
Name |
Description |
TKey |
The type of the keys in the container.
|
TValue |
The type of the values in the container.
|
Constructors
NativeKeyValueArrays(Int32, Allocator, NativeArrayOptions)
Declaration
public NativeKeyValueArrays(int length, Allocator allocator, NativeArrayOptions options)
Parameters
Type |
Name |
Description |
Int32 |
length |
|
Allocator |
allocator |
|
NativeArrayOptions |
options |
|
Fields
Keys
Declaration
public NativeArray<TKey> Keys
Field Value
Type |
Description |
NativeArray<TKey> |
|
Values
Declaration
public NativeArray<TValue> Values
Field Value
Type |
Description |
NativeArray<TValue> |
|
Methods
Dispose()
Declaration
Extension Methods