This course covers Rust's foundational concepts crucial for implementing design patterns effectively. You'll explore Rust's ownership model, lifetimes, structs, enums, pattern matching, traits and generics. Mastering these equips you to write safe, efficient, and expressive Rust code, forming a solid basis for applying design patterns.
Overview
Syllabus
- Unit 1: Structs and Implementations in Rust
- Switch Up Struct Calculations
- Fix the Broken Struct Code
- Mastering Ownership with Structs
- Rectangles Made Interesting
- Implementing Structs in Rust
- Unit 2: Enums and Pattern Matching in Rust
- Debug Pattern Matching in Rust
- Mastering Enums and Pattern Matching
- Master Enums in Rust
- Master Enums and Pattern Matching
- Unit 3: Generics in Rust
- Transform Struct to Generic Point
- Mastering Rust with Generic Rectangles
- Implementing Generic Struct in Rust
- Unit 4: Traits and Trait Objects in Rust
- Master Static Dispatch in Rust
- Implement and Use Traits Dynamically
- Implement Display Trait for Vehicles
- Mastering Rust Traits and Polymorphism
- Unit 5: Ownership and Borrowing in Rust
- Fix Ownership and Mutable References
- Mastering Ownership in Rust
- Ownership and Borrowing Challenge