Struct FixedList128Bytes<T>.Enumerator
An enumerator over the elements of a FixedList128Bytes<T>.
Namespace: Unity.Collections
Assembly: Unity.Collections.dll
Syntax
public struct FixedList128Bytes<T>.Enumerator
Remarks
In an enumerator's initial state, Current
cannot be read. The first MoveNext() call advances the enumerator to the first element.
Constructors
Enumerator(ref FixedList128Bytes<T>)
Initializes and returns an instance of FixedList128Bytes<T>.
Declaration
public Enumerator(ref FixedList128Bytes<T> list)
Parameters
Type | Name | Description |
---|---|---|
FixedList128Bytes<T> | list | The list for which to create an enumerator. |
Properties
Current
The current element.
Declaration
public T Current { get; }
Property Value
Type | Description |
---|---|
T | The current element. |
Methods
Dispose()
Does nothing.
Declaration
public void Dispose()
MoveNext()
Advances the enumerator to the next element.
Declaration
public bool MoveNext()
Returns
Type | Description |
---|---|
bool | True if Current is valid to read after the call. |
Reset()
Resets the enumerator to its initial state.
Declaration
public void Reset()