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.
- Kind
- class
- Namespace
- System
- Assembly
- System.Core
- Access
- public, record
- Source file
Tuples.ant
Type parameters
| Name | Constraints |
|---|---|
T1 | any type |
Inheritance
- Base classes
-
AnyTuple<T1> - Interfaces
-
IToStringIHashable<TSelf>
Constructors
constructor Tuple(Item1: T1)
#
Methods
method ToValueTuple() -> System.ValueTuple<T1>
#
The same items in a ValueTuple.
method ToString() -> System.String<u8>
#
method Equals(other: System.Tuple<T1>) -> bool
#
Fields
field Item1: T1
#
Inherited members (3)
GetTypemethod from AnyUndescribedmethod from Anydestroymethod from Any
Source
Tuple<T1> as Larva HIR, decompiled from its Larva 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
}