class · System

Boxed<T>

public class System.Boxed<T> : System.Any

What an any holds a function value or a pointer in (neither is an object of its own): any a = f; makes one, (func<i32> : i32)a takes the value back out. It shows the value's type.

Tipo
class
Espacio de nombres
System
Ensamblado
System.Core
Acceso
public, final
Archivo fuente
Any.ant

Parámetros de tipo

NombreRestricciones
Tcualquier tipo

Herencia

Clases base
Any Boxed<T>

Constructores

constructor Boxed(Value: T, type: System.String<u8>)
#

Métodos

method ToString() -> System.String<u8>
#

override

Campos

field Value: T
#

The function value or pointer.

Miembros privados e internos (1)

field type: System.String<u8>
#

private

Miembros heredados (4)

Código fuente

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

System.Boxed.hir
// What an `any` holds a function value or a pointer in (neither is an object of its own): `any a = f;` makes one,
// `(func<i32> : i32)a` takes the value back out. It shows the value's type.
public class System.Boxed<T> : System.Any
{
    field type: System.String<u8>
    // The function value or pointer.
    field Value: T
    constructor Boxed(Value: T, type: System.String<u8>)
    method ToString() -> System.String<u8>
}
Esc