Skip to content
Atharva Pandey
Polyglot Engineer
Writing
Courses
Notes
About
Course
Rust Pattern Matching & Enums Deep Dive
8 lessons · Rust. Start at lesson one and work through in order.
1.
match
2.
Destructuring
3.
Match Guards and Bindings
4.
Or Patterns, @ Bindings, and Rest Patterns
5.
Enums Carrying Data
6.
State Machines with Enums
7.
The Visitor Pattern via Enums
8.
Refutable vs Irrefutable Patterns