01Chapter 1: Defining and implementing a traitAssume you know Rust structs, ownership, borrowing, references, basic generics, and how to run a Cargo program. Traits build on these ideas by describing behavior without choosing one concrete type.1 min read
02Chapter 2: Static dispatch and monomorphizationAssume you know Rust ownership, borrowing, basic generics, and how to run a Cargo program. This chapter compares how Rust chooses trait implementations and how that choice affects trait design.2 min read
03Chapter 3: Common standard library traits and #[derive]Assume you know structs, ownership, borrowing, basic generics, and how to run a Cargo program. This chapter focuses on standard traits that make your types work with Rust’s existing tools.2 min read