Welcome to Day 2
We have covered the foundations of Rust:
- Basic Types: Integers, booleans, characters, tuples, and arrays.
- Control Flow:
ifexpressions, loops, andmatchexpressions. - Functions: How to define and call functions.
- User-Defined Types: Model data with
structandenum. - References: Basic borrowing with
&and&mut.
You can now construct any type in Rust and implement basic logic!
Schedule
Including 10 minute breaks, this session should take about 2 hours and 50 minutes. It contains:
| Segment | Duration |
|---|---|
| Welcome | 3 minutes |
| Pattern Matching | 50 minutes |
| Methods and Traits | 45 minutes |
| Generics | 50 minutes |