Skip to content

Glossary: Rust Basics

Tuple

Also written: tuples

A fixed-size group of values that can be different types, like `("Speckled blue mug", 1800)`. Items are read by position, such as `item.0`.

Where the book teaches it

Related terms

ArrayIndex