struct · System

StringIterator<T>

public struct System.StringIterator<T>

The code units of a string, in order.

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

Parámetros de tipo

NombreRestricciones
Tuno de u8, u16, u32

Constructores

constructor StringIterator(text: System.String<T>)
#

Propiedades

property Current: T
#

read-only

Métodos

method Next() -> bool
#

Miembros privados e internos (2)

field text: System.String<T>
#

private

field index: i32
#

private

Código fuente

StringIterator<T> en Larva HIR, descompilado a partir de su Larva HIR.

System.StringIterator.hir
// The code units of a string, in order.
public struct System.StringIterator<T>
{
    field text: System.String<T>
    field index: i32
    constructor StringIterator(text: System.String<T>)
    method Next() -> bool
    property Current: T
}
Esc