← Back to Challenges
Structs & Enums (8)
Composite data and pattern matching.
Structs & Tuples (4)
Enums & Patterns (4)
Enums
Learn how to use enums in Rust by implementing a basic TrafficLight enum.
If Let Enums
Practice pattern matching on enums using `if let`.
Complex Enums
Explore complex enums by combining unit, tuple, and named field variants in Rust.
Finite State Automaton
Implement a finite state automaton (FSA) to recognize a specific pattern in a sequence of characters.