Search Results

phobos
std.​typecons.​Tuple

Tuple of values, for example Tuple!(int, string) is a record that stores an int and a string. Tuple can be used to bundle values together, notably when returning multiple values from a function. If obj is a Tuple, the individual members are accessible with the syntax obj[0] for the first field, obj[1] for the second, and so on.

phobos
std.​typecons.​tuple

Constructs a Tuple object instantiated and initialized according to the given arguments.