Iterators are a powerful language feature in Rust, described by the
Iterator trait. Iterators allow you to perform many operations on collection-like types, e.g.
Vec<T>, and they are easily composable.
Option<T> type is Rust's equivalent of nullable types, without all the issues that come with it. The majority of C-like languages allow any variable to be
null if there is no data present, but the
Option type is inspired by functional languages which favour 'optionals' (e.g. Haskell's
Maybe monad). Using
Option types will allow you to express the idea that data may or may not be there (since Rust doesn't have nullable types).
The most trivial data-structure, after a singular value, is the tuple.
Bare Metal Rust
The Rust Standard Library (
std) is compiled against only a handful of architectures. So, to compile to other architectures (that LLVM supports), Rust programs could opt not to use the entire
std, and instead use just the portable subset of it, known as The Core Library (