Available on crate feature
ast-models only.Expand description
Enum declarations, such as enum Color { Red, Green, Blue }.
Structs§
- Enum
Decl - An enumeration declaration. Enums in wright are a set of named values with no associated data – see UnionDecl for tagged unions.
- Enum
Variant - A variant of an EnumDecl, such as
RedorRed = 1.