Structs§
- Variant
Set - A set of values that are variants of an enum. The set can contain at most one value for each variant.
Functionally equivalent to a
HashSet<T>, but the enum variants can contain complex data.
Traits§
- Variant
Enum - A trait that must be implemented by enums that are used with
VariantSet.
Derive Macros§
- Variant
Enum - Derives a
_Variantenum for the given enum, and derives theVariantEnumtrait.