Struct FixedList512Bytes<T>.Enumerator
An enumerator over the elements of a FixedList512Bytes<T>.
Namespace: Unity.Collections
Assembly: Unity.Collections.dll
Syntax
public struct FixedList512Bytes<T>.Enumerator
Remarks
In an enumerator's initial state, Current
cannot be read. The first Move
Constructors
Enumerator(ref FixedList512Bytes<T>)
Initializes and returns an instance of FixedList512Bytes<T>.
Declaration
public Enumerator(ref FixedList512Bytes<T> list)
Parameters
Type | Name | Description |
---|---|---|
Fixed |
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
Reset()
Resets the enumerator to its initial state.
Declaration
public void Reset()