struct · System

SpanIterator<T>

public struct System.SpanIterator<T>

The elements of a span, in order.

Tipo
struct
Espacio de nombres
System
Ensamblado
System.Core
Acceso
public
Archivo fuente
Span.ant

Parámetros de tipo

NombreRestricciones
Tcualquier tipo

Constructores

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

Propiedades

property Current: T
#

read-only

Métodos

method Next() -> bool
#

Miembros privados e internos (2)

field span: System.Span<T>
#

private

field index: i32
#

private

Código fuente

SpanIterator<T> en Larva HIR, descompilado a partir de su 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