{
  "id": "rust-from-into-table",
  "kind": "table",
  "slug": "rust-from-into",
  "iil_id": null,
  "note_url": "https://iinventedlight.com/library/notes/rust-from-into/",
  "title": "Convert Rust types with From and Into",
  "columns": [
    "name",
    "source",
    "detail"
  ],
  "rows": [
    {
      "name": "From",
      "source": "Rust standard library",
      "detail": "Define how a type creates itself from another type"
    },
    {
      "name": "Into",
      "source": "Rust standard library",
      "detail": "Reciprocal of the From trait"
    },
    {
      "name": "String::from",
      "source": "Rust standard library",
      "detail": "Convert a str into a String"
    },
    {
      "name": "into()",
      "source": "Rust standard library",
      "detail": "Convert a type into another type"
    }
  ],
  "related_slugs": [
    "rust-traits",
    "rust-error-handling-result",
    "rust-strings-utf8"
  ],
  "license": "CC-BY-4.0",
  "source_license": "MIT OR Apache-2.0 (Rust standard library); MIT OR Apache-2.0 (Rust By Example); prose restates cited source lines in own words",
  "as_of": "2026-11-19",
  "status": "deep-draft-20261119",
  "note": "Restated from the note's GREEN sources; check those sources before relying on a value."
}