Alex' Gardenアレックスの庭

Home

❯

5_Archive

❯

4_Projects

❯

Rust

❯

Rust Ownership

1 min read

🔐 Rust Ownership

An owner can own multiple values, but is owned by exactly one owner. → Tree structure with a root

Extensions

Rust allows to…

  • Move values between owners → ➡️ Rust Moves
  • Excuse simple types → 🖨️ Rust Copy Types
  • Multiple owners: 🔑 Rust Rc and Arc
  • Borrowing references are non-owning pointers with limited lifetime → 👉 Rust Pointers
  • perform interior mutability

Graph View

  • 🔐 Rust Ownership
  • Extensions

Backlinks

  • Rust Cells
  • Rust