1.
Introduction to Rust
2.
Variables and Operators
2.1.
Declaring and assigning variables
2.2.
Scalar and compound data types
2.3.
Operators and expressions
3.
Control Flow
3.1.
Conditional statements
3.2.
Loops
4.
Functions
4.1.
Defining and calling functions
4.2.
Advanced Function Concepts
4.3.
Closures
5.
Ownership and Borrowing
5.1.
References and borrowing
5.2.
Lifetimes
5.3.
Ownership and smart pointers
6.
Structs and Enums
6.1.
Defining and using structs
6.2.
Enums and pattern matching
7.
Traits and Generics
7.1.
Generic types and functions
7.2.
Defining and implementing traits
8.
Error Handling
9.
Modules and Crates
9.1.
Organizing code with modules
9.2.
Creating and using crates
Light
Rust
Coal
Navy
Ayu
Rust: Novice to Mastery
Structs and Enums
Structs
: Combine data of different types for complex data structures.
Enums
: Restrict variables to a specific set of predefined values.