Struct UnsafeHashMap<TKey, TValue>.Enumerator
An enumerator over the key-value pairs of a container.
Namespace: Unity.Collections.LowLevel .Unsafe
Assembly: Unity.Collections.dll
Syntax
public struct UnsafeHashMap<TKey, TValue>.Enumerator
Remarks
In an enumerator's initial state, Current is not valid to read.
From this state, the first Move
Properties
Current
The current key-value pair.
Declaration
public KVPair<TKey, TValue> Current { get; }
Property Value
Type | Description |
---|---|
KVPair<TKey, TValue> | The current key-value pair. |
Methods
Dispose()
Does nothing.
Declaration
public void Dispose()
MoveNext()
Advances the enumerator to the next key-value pair.
Declaration
public bool MoveNext()
Returns
Reset()
Resets the enumerator to its initial state.
Declaration
public void Reset()