Show / Hide Table of Contents

Struct Pointer<T>.Enumerator

Represents enumerator over raw memory.

Implements
IEnumerator<Pointer<T>.Enumerator, T>
IResettable
Inherited Members
ValueType.Equals(object)
ValueType.GetHashCode()
ValueType.ToString()
object.GetType()
object.Equals(object, object)
object.ReferenceEquals(object, object)
Namespace: DotNext.Runtime.InteropServices
Assembly: DotNext.Unsafe.dll
Syntax
public struct Pointer<T>.Enumerator : IEnumerator<Pointer<T>.Enumerator, T>, IResettable

Properties

View Source

Current

Gets the current element.

Declaration
public readonly ref T Current { get; }
Property Value
Type Description
T

Methods

View Source

MoveNext()

Adjust pointer.

Declaration
public bool MoveNext()
Returns
Type Description
bool

true, if next element is available; false, if end of sequence reached.

View Source

Reset()

Sets the enumerator to its initial position.

Declaration
public void Reset()

Implements

IEnumerator<TSelf, T>
IResettable

Extension Methods

BasicExtensions.IsBetween<T, TLowerBound, TUpperBound>(T, TLowerBound, TUpperBound)
BasicExtensions.IsOneOf<T>(T, params ReadOnlySpan<T>)
Enumerator.Skip<TEnumerator, T>(ref TEnumerator, int)
  • View Source
☀
☾
In this article
Back to top
Supported by the .NET Foundation
☀
☾