Struct
Classic Struct
Tuple Like Struct
Unit Like Struct
Struct Update Syntax
like JavaScript’s fill
Make sure you put the ..
at the end of the struct.
Enum
Quit
has no data associated with it at all.
Move
has named fields like a struct does.
Write
includes a single String
.
ChangeColor
includes three i32
values.
Vector
Strings
Hash Maps
Box