Part 1 Building blocks
We’ll begin this book by examining some of the basic building blocks of Rust design patterns. These building blocks are essential to understanding the complex patterns we’ll cover later in the book, and they’ll help you write more idiomatic Rust code. Some of these building blocks are specific to Rust; others are more general programming concepts that are particularly important in Rust.
These building blocks are effectively the vocabulary of Idiomatic Rust: Code like a Rustacean and constitute the core features of the Rust language. We can think of them as the atoms of a molecule, which we’ll combine in various ways to create complex substances (or patterns). Those patterns can be combined and architected to create ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access