mirror of
https://github.com/kamranahmedse/developer-roadmap.git
synced 2026-10-25 17:42:27 +08:00
* refactor: clean to roadmap content * refactor: move shared helpers into scripts/lib
624 B
624 B
Tuple
Tuples are fixed-size collections that can hold elements of different types. Access elements using dot notation with zero-based indexing: tuple.0, tuple.1, etc. Example: let data: (i32, f64, char) = (42, 3.14, 'x');. Useful for grouping related values of different types and multiple variable assignments.
Visit the following resources to learn more: