Struct NativeHashMap<TKey, TValue>.Enumerator
An enumerator over the key-value pairs of a container.
Namespace: Unity.Collections
Assembly: solution.dll
Syntax
[NativeContainer]
[NativeContainerIsReadOnly]
public struct NativeHashMap<TKey, TValue>.Enumerator
Remarks
In an enumerator's initial state, Current is not valid to read. From this state, the first MoveNext() call advances the enumerator to the first key-value pair.
Properties
Name | Description |
---|---|
Current | The current key-value pair. |
Methods
Name | Description |
---|---|
Dispose() | Does nothing. |
MoveNext() | Advances the enumerator to the next key-value pair. |
Reset() | Resets the enumerator to its initial state. |