Table of Contents

Struct RentedMemorySequenceSpan<T>.Enumerator

Namespace
LfrlAnvil.Memory
Assembly
LfrlAnvil.Core.dll

Lightweight enumerator implementation for RentedMemorySequenceSpan<T>.

public ref struct RentedMemorySequenceSpan<T>.Enumerator
Inherited Members

Properties

Current

Gets reference to the element in the RentedMemorySequenceSpan<T> at the current position of this enumerator.

public ref readonly T Current { get; }

Property Value

T

Methods

MoveNext()

Advances this enumerator to the next element.

public bool MoveNext()

Returns

bool

true when next element exists, otherwise false.