struct · System

SpanIterator<T>

public struct System.SpanIterator<T>

The elements of a span, in order.

Kind
struct
Namespace
System
Assembly
System.Core
Access
public
Source file
Span.ant

Type parameters

NameConstraints
Tany type

Constructors

constructor SpanIterator(span: System.Span<T>)
#

Properties

property Current: T
#

read-only

Methods

method Next() -> bool
#

Private and internal members (2)

field span: System.Span<T>
#

private

field index: i32
#

private

Source

SpanIterator<T> as Larva HIR, decompiled from its Larva HIR.

System.SpanIterator.hir
// The elements of a span, in order.
public struct System.SpanIterator<T>
{
    field span: System.Span<T>
    field index: i32
    constructor SpanIterator(span: System.Span<T>)
    method Next() -> bool
    property Current: T
}
Esc