01Chapter 1: Defining enums and variantsThis chapter assumes basic Rust syntax, structs, tuples, functions, and control flow. You should also understand that ownership determines whether using a value moves it or borrows it.1 min read
02Chapter 2: Adding behavior with implAssume basic Rust syntax, structs, tuples, ownership, and borrowing. Rust enums can hold different kinds of data. An impl block adds methods that operate on those variants.1 min read
03Chapter 3: if let, let else, while let, and matches!Assume basic Rust syntax, ownership, borrowing, structs, and cargo. These pattern forms are shorter alternatives to match when you need only some cases.1 min read