Tuple operations
Tuples provide fixed component access with an integer literal index; negative
literals count from the end, so t[-1] is the last component.
Construction, indexing, unpacking, and component-loan rules are defined in
tuple types.
Supported tuples compare structurally without allocation. copy duplicates copyable components and mutable contents fallibly; formatting displays supported component values. Types containing stored recursive data are excluded from these automatic traversals.
A tuple can store concrete owned callbacks of different types. Reusable calls borrow their indexed component; consuming calls require extraction by unpacking. See stored callable values.