Expand description
Enum related traits and types.
The *VariantField* traits are declared in
the field module,
you can use *VariantField* traits as bounds,
and then call StructuralExt methods to access fields inside enum variants.
Structs§
- Variant
Proxy - Enum wrapper,for accessing the fields of a particular variant
(determined by the
Vtype parameter).
Traits§
- EnumExt
- Extension trait for enums.
- IsVariant
- Queries whether an enum is some variant (the
Vtype parameter) - Variant
Count - For querying the amount of variants of an enum.
Type Aliases§
- Variant
Count Out - Queries the amount of variants of
This.