- 10.1 Introduction to program-defined types
- 10.2 Defining and instantiating structs
- 10.3 Field init shorthand and update syntax
- 10.4 Tuple structs and unit structs
- 10.5 Methods and impl blocks
- 10.6 Associated functions and constructors
- 10.7 Deriving Debug and printing structs
- 10.8 Ownership in structs
- 10.9 Project: rectangles
- 10.x Chapter 10 summary and quiz