struct
- Create simple struct
- Change attributes of a mutable struct
- Struct method to modify fields
- Struct inheritance
- Struct composition
- Struct duplicate
- Printing struct fails
- Print struct (Point)
- Debug struct (Point)
- Print complex struct
- Debug complex struct
- Struct with vector and optional value
- Printing and debug-printing simple struct
- Use a tuple as a struct to represent color
- Add method to tuple-based struct
- Struct with method
- Structs and circural references
- Multiple referene to a struct
- new method with default values for struct
- The new method has no special feature
- Default values
- Default for composite struct
- Compare structs for Equality
- Compare structs for Equality - manual implementation
- Compare structs for partial equality - PartialEq
- Compare structs for ordering (sorting) - Ord
- Compare structs for partial ordering (sorting) - PartialOrd
- Manually implement ordering