Every public struct, trait, enum, function and macro from std, indexed and explained — with hand-written usage examples, performance notes, and module-level guides for the bits you reach for every day.
Vec is a struct exported from the std::vec module of the Rust standard library. It bundles related fields into…
Option is an enumeration defined in std::option. Enumerations in Rust express a value that may be exactly one …
Result is an enumeration defined in std::result. Enumerations in Rust express a value that may be exactly one …
String is a struct exported from the std::string module of the Rust standard library. It bundles related field…
HashMap is a struct exported from the std::collections module of the Rust standard library. It bundles related…
Iterator is a trait declared in std::iter. Traits define an interface — a contract of methods — that any concr…
Arc is a struct exported from the std::sync module of the Rust standard library. It bundles related fields int…
Mutex is a struct exported from the std::sync module of the Rust standard library. It bundles related fields i…
Box is a struct exported from the std::boxed module of the Rust standard library. It bundles related fields in…
BTreeMap is a struct exported from the std::collections module of the Rust standard library. It bundles relate…
HashMap, BTreeMap, Vec, VecDeque — every general-purpose container in std.
The Iterator trait, adapters, and consumers — Rust's lazy zero-cost pipelines.
Read, Write, BufReader, BufWriter — synchronous byte-stream plumbing.
Files, directories, metadata, atomic-write helpers and path traversal.
Mutex, RwLock, Arc, atomics, channels — all the cross-thread primitives.
Native OS threads, scoped joins, thread-local storage, and parking.
Option<T> — Rust's null-free representation of "value may be absent".
Result<T, E> — fallible operations as values, with the ? operator.
UTF-8 string slices: searching, splitting, parsing, iteration.
The growable contiguous heap-allocated array — Rust's default sequence.
Display, Debug, Formatter — the traits behind every format string.
Process environment: args, vars, current_dir, and the env! macro.
Spawning subprocesses, capturing output, and managing exit status.
TcpStream, TcpListener, UdpSocket — synchronous network I/O.
Instant, Duration, SystemTime — measuring and waiting.
Install the Rust toolchain, write your first program, and learn the build cycle with cargo.…
Rust's ownership system replaces a garbage collector with compile-time guarantees. Learn the three rules that make it work.…
Use enums and `match` expressions to model data with exhaustive, compile-checked branches.…
Group related data into structs and attach behaviour through impl blocks.…
Stop reaching for exceptions. Rust uses `Result`, the `?` operator, and custom error types instead.…
Combine iterators and closures to write expressive, allocation-free data pipelines.…