Skip to content

Glossary: Data Structures and Algorithms in Rust

Tuple

Also written: tuples

A fixed group of values such as (city, product) or (priority, item). Tuples of hashable values can be map keys, and they compare item by item, which is how they sort and order heaps.

Where the book teaches it

Related terms

HashableOrdering