struct · System
ValueTuple<T1, T2, T3, T4>
public struct System.ValueTuple<T1, T2, T3, T4> : System.IToString, System.IHashable<System.ValueTuple<T1, T2, T3, T4>>
4 items in a value: Item1…Item4, which can be changed.
- Tipo
- struct
- Espacio de nombres
- System
- Ensamblado
- System.Core
- Acceso
- public, record
- Archivo fuente
Tuples.ant
Parámetros de tipo
| Nombre | Restricciones |
|---|---|
T1 | cualquier tipo |
T2 | cualquier tipo |
T3 | cualquier tipo |
T4 | cualquier tipo |
Herencia
- Interfaces
-
IToStringIHashable<TSelf>
Constructores
constructor ValueTuple(Item1: T1, Item2: T2, Item3: T3, Item4: T4)
#
Métodos
method ToTuple() -> System.Tuple<T1, T2, T3, T4>
#
The same items in a Tuple (a class).
method ToString() -> System.String<u8>
#
method Equals(other: System.ValueTuple<T1, T2, T3, T4>) -> bool
#
Campos
Código fuente
ValueTuple<T1, T2, T3, T4> en Larva HIR, descompilado a partir de su Larva HIR.
// 4 items in a value: Item1…Item4, which can be changed.
public struct System.ValueTuple<T1, T2, T3, T4> : System.IToString, System.IHashable<System.ValueTuple<T1, T2, T3, T4>>
{
field Item1: T1
field Item2: T2
field Item3: T3
field Item4: T4
constructor ValueTuple(Item1: T1, Item2: T2, Item3: T3, Item4: T4)
// The same items in a Tuple (a class).
method ToTuple() -> System.Tuple<T1, T2, T3, T4>
method ToString() -> System.String<u8>
method Hash() -> u64
method Equals(other: System.ValueTuple<T1, T2, T3, T4>) -> bool
}