Visual Reference
Rust Guides
Three-level Rust reference. Start where you are — beginner basics, mid-level abstractions, or advanced systems work.
3 levels
Up to date with Rust 1.84+
Beginner
Variables, types, ownership basics, control flow, functions, structs, enums, and your first taste of error handling.
Variables
Ownership
Structs
Enums
Match
Result
Start here →
Mid-Level
Traits, generics, lifetimes, iterators, closures, modules, smart pointers, and idiomatic error handling.
Traits
Generics
Lifetimes
Iterators
Closures
Box/Rc/RefCell
Read guide →
Advanced
Async/await, Send/Sync, unsafe Rust, macros, FFI, zero-cost abstractions, and performance tuning.
Async/Await
Send/Sync
Unsafe
Macros
FFI
Performance
Read guide →
Essential Toolchain Commands
rustup update
Update the Rust toolchain
cargo new app
Create a new project
cargo build
Compile (debug)
cargo build --release
Optimized build
cargo run
Build + execute
cargo test
Run unit + integration tests
cargo check
Type-check without codegen
cargo clippy
Idiom + correctness lints
cargo fmt
Format the codebase
cargo doc --open
Build & open docs
cargo add serde
Add a dependency
cargo bench
Run benchmarks (nightly)