On this page
  1. rust/ownership_and_internals
  2. Topics

rust/ownership_and_internals

Prev: std | Up: rust | Next: cargo_and_tooling
Rel: Memory Management Models, C Build Pipeline & ABI
Ref: The Rustonomicon
Tags: #public #prog #rust #internals #index


Topics

  1. Ownership, Borrowing, Lifetimes & RAII — Move semantics, the borrow checker (1 &mut T XOR N &T), lifetimes 'a, and deterministic Drop teardown without GC.
  2. Traits, Generics & Dispatch — Monomorphization (static dispatch) vs. dyn Trait fat pointers (dynamic dispatch), associated types, and the orphan rule.
  3. Enums, Pattern Matching & Error Propagation — Algebraic sum types, exhaustive match, let-else, and ? with From.
  4. `unsafe` Rust & C ABI FFI — The five unsafe superpowers, raw pointers, #[repr(C)], and soundness boundaries.

Linked from

Related notes