{
  "id": "rust-tuples-table",
  "kind": "table",
  "slug": "rust-tuples",
  "iil_id": null,
  "note_url": "https://iinventedlight.com/library/notes/rust-tuples/",
  "title": "A tuple groups values of various types into one compound type. (cheat table)",
  "columns": [
    "topic",
    "fact",
    "source_id"
  ],
  "rows": [
    {
      "topic": "C1",
      "fact": "A tuple groups values of various types into one compound type.",
      "source_id": "S1"
    },
    {
      "topic": "C2",
      "fact": "Tuples have a fixed length once declared.",
      "source_id": "S1"
    },
    {
      "topic": "C3",
      "fact": "The first tuple index is 0.",
      "source_id": "S1"
    },
    {
      "topic": "C4",
      "fact": "The empty tuple is called unit and is written ().",
      "source_id": "S1"
    },
    {
      "topic": "C5",
      "fact": "A tuple can hold values of different types.",
      "source_id": "S2"
    },
    {
      "topic": "C6",
      "fact": "Functions can return multiple values in a tuple.",
      "source_id": "S2"
    }
  ],
  "related_slugs": [
    "rust-slices",
    "rust-structs",
    "rust-pattern-syntax"
  ],
  "license": "CC-BY-4.0",
  "as_of": "2026-11-23",
  "status": "draft"
}
