9 months ago
19 lines455 B
Lesson 5: Structs and enums
This lesson covers structs and enums. You'll read a short explanation, try three small exercises and finish with a quiz.
Full lesson: https://glibcode.net/courses/rust-ownership/lessons/5
Files
src/main.rs: structs with methods and an enum
Run it
cargo run
Exercises
See exercises.md. Ask in the forum once you've tried.