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