Enumerations With Data
-
Enumerations elements can also have one or more data types
-
Rust's enum is something also known as a tagged union
-
When an enum is pattern matched using match, you can bind a variable name to each value
-
An enum data value will have a memory size equal to its largest element