Rust/Variable/Type/Compound/Tuple
- can use Programming/Destructuring
- can access elements with dot notation, e.g.
my_tuple.1accesses the 2nd element in the Programming/Zero Indexing array - Example
- The tuple without any values is Rust/unit. This value and its corresponding type are both written
()and represent an empty value or an empty return type. Expressions implicitly return the unit value if they don’t return any other value. - Variables can use Rust/mut with Rust/Variable/let to make mutable tuples.