On this page
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
- Ownership, Borrowing, Lifetimes & RAII — Move semantics, the borrow checker (
1 &mut TXORN &T), lifetimes'a, and deterministicDropteardown without GC. - Traits, Generics & Dispatch — Monomorphization (static dispatch) vs.
dyn Traitfat pointers (dynamic dispatch), associated types, and the orphan rule. - Enums, Pattern Matching & Error Propagation — Algebraic sum types, exhaustive
match,let-else, and?withFrom. - `unsafe` Rust & C ABI FFI — The five
unsafesuperpowers, raw pointers,#[repr(C)], and soundness boundaries.
Linked from
- tuts/rust
- tuts/rust/cargo_and_tooling
- tuts/rust/ownership_and_internals/enums_pattern_matching_and_errors
- tuts/rust/ownership_and_internals/ownership_borrowing_and_lifetimes
- tuts/rust/ownership_and_internals/traits_generics_and_dispatch
- tuts/rust/ownership_and_internals/unsafe_rust_and_ffi_abi
- tuts/rust/std
- tuts/rust/std/collections
- tuts/rust/std/error_and_fmt
- tuts/rust/std/ffi
- tuts/rust/std/ffi/extern_C
- tuts/rust/std/io_and_fs
- tuts/rust/std/smart_pointers
- tuts/rust/std/sync
Related notes
- tuts/rust Linked here; links to this page; shared tags: #index, #prog, #rust
- tuts/rust/cargo_and_tooling Linked here; links to this page; shared tags: #index, #prog, #rust
- tuts/rust/ownership_and_internals/enums_pattern_matching_and_errors Linked here; links to this page; shared tags: #internals, #prog, #rust
- tuts/rust/ownership_and_internals/ownership_borrowing_and_lifetimes Linked here; links to this page; shared tags: #internals, #prog, #rust
- tuts/rust/ownership_and_internals/traits_generics_and_dispatch Linked here; links to this page; shared tags: #internals, #prog, #rust
- tuts/rust/ownership_and_internals/unsafe_rust_and_ffi_abi Linked here; links to this page; shared tags: #internals, #prog, #rust
- tuts/rust/std Linked here; links to this page; shared tags: #index, #prog, #rust
- tuts/rust/std/collections links to this page; shared tags: #index, #prog, #rust
- tuts/rust/std/error_and_fmt links to this page; shared tags: #index, #prog, #rust
- tuts/rust/std/ffi links to this page; shared tags: #index, #prog, #rust