Skip to main content

Module enumeration

Module enumeration 

Source
Available on crate feature ast-models only.
Expand description

Enum declarations, such as enum Color { Red, Green, Blue }.

Structs§

EnumDecl
An enumeration declaration. Enums in wright are a set of named values with no associated data – see UnionDecl for tagged unions.
EnumVariant
A variant of an EnumDecl, such as Red or Red = 1.