struct
- Create simple struct
- Change attributes of a mutable struct
- Implement a method for a struct
- Struct method to modify fields
- Struct inheritance
- Struct composition: Circle
- Struct composition: Line
- Struct with vector of structs - Polygon
- Printing struct fails
- Print struct - implement Display
- Debug struct - implement Debug
- Derive Debug for 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
- new method with default values for struct
- The new method has no special feature
- Default values
- Empty string and zero as default values
- Derived 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
- Copy attributes from struct instance
- Drop - destructor
- Exercise - struct for contact info
- Solution - struct for contact info
- Read from a file and return a struct
- Converting between types: The From and Into traits
- From and Into for String and &str
- Implementing the From trait for 2D and 3D point structs