class · System

Tuple<T1>

public class System.Tuple<T1> : System.Any, System.IToString, System.IHashable<System.Tuple<T1>>

1 item in an object: Item1, fixed when it is made.

Tipo
class
Espacio de nombres
System
Ensamblado
System.Core
Acceso
public, record
Archivo fuente
Tuples.ant

Parámetros de tipo

NombreRestricciones
T1cualquier tipo

Herencia

Clases base
Any Tuple<T1>
Interfaces
IToString IHashable<TSelf>

Constructores

constructor Tuple(Item1: T1)
#

Métodos

method ToValueTuple() -> System.ValueTuple<T1>
#

The same items in a ValueTuple.

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

override

method Hash() -> u64
#

override

method Equals(other: System.Tuple<T1>) -> bool
#

Campos

field Item1: T1
#

Miembros heredados (3)

Código fuente

Tuple<T1> en Larva HIR, descompilado a partir de su Larva HIR.

System.Tuple`1.hir
// 1 item in an object: Item1, fixed when it is made.
public class System.Tuple<T1> : System.Any, System.IToString, System.IHashable<System.Tuple<T1>>
{
    field Item1: T1
    constructor Tuple(Item1: T1)
    // The same items in a ValueTuple.
    method ToValueTuple() -> System.ValueTuple<T1>
    method ToString() -> System.String<u8>
    method Hash() -> u64
    method Equals(other: System.Tuple<T1>) -> bool
}
Esc