Struct QueueSlimMemory<T>.Enumerator
- Namespace
- LfrlAnvil
- Assembly
- LfrlAnvil.Core.dll
Lightweight enumerator implementation for QueueSlimMemory<T>.
public ref struct QueueSlimMemory<T>.Enumerator
- Inherited Members
Properties
Current
Gets a reference to the element in the view at the current position of the enumerator.
public ref T Current { get; }
Property Value
- T
Methods
MoveNext()
Advances the enumerator to the next element of the collection.
public bool MoveNext()
Returns
- bool
true if the enumerator was successfully advanced to the next element, otherwise false.