Struct FixedList64Bytes<T>.Enumerator
An enumerator over the elements of a FixedList64Bytes<T>.
Namespace: Unity.Collections
Assembly: Unity.Collections.dll
Syntax
public struct FixedList64Bytes<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 FixedList64Bytes<T>)
Initializes and returns an instance of FixedList64Bytes<T>.
Declaration
public Enumerator(ref FixedList64Bytes<T> list)
Parameters
Type | Name | Description |
---|---|---|
FixedList64Bytes<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()