Builtin type std::builtins::tuple

Method implementations for tuples

Tuples are fixed-size collections of elements of different types. They are often used to return multiple values from a function or to group values of different types together.

A single-element tuple is represented as (T,), where T is the type of the element. An empty tuple () is also known as void.

Methods

impl tuple<Tup> { ... }
Tup: Tuple

Mixins

impl tuple<Tup> { ... }
Tup: Tuple