Enums#
Enum variants will automatically be assigned a value starting from 0.
An explicit value can be given to an enum variant.
Explicit values and implicit values can be mixed.
Enum variants will automatically be assigned a value starting from 0.
An explicit value can be given to an enum variant.
Explicit values and implicit values can be mixed.