SlotMapEnumerator<T>
Struct · namespace System · Since 0.42
struct SlotMapEnumerator<T>The cursor of foreach over a SlotMap (SlotMap<T>.GetEnumerator): the elements with their handles.
Static methods
Section titled “Static methods”| Name | Description |
|---|---|
Over |
A cursor before the first place of the storage of a slot map. |
static SlotMapEnumerator<T> Over(SlotMapState<T>[] state)A cursor before the first place of the storage of a slot map.
Methods
Section titled “Methods”| Name | Description |
|---|---|
MoveNext |
Moves to the next element; false after the last one. |
Current |
The current element and its handle, as a tuple (Handle, Value). |
MoveNext
Section titled “MoveNext”bool MoveNext()Moves to the next element; false after the last one.
Current
Section titled “Current”Tuple2<Handle<T>, T> Current()The current element and its handle, as a tuple (Handle, Value).