Expand description
Traits and types used to power enum-like operations via reflection.
Structs§
- Dynamic
Enum - A dynamic representation of an enum.
- Enum
Info - A container for compile-time enum info, used by
TypeInfo. - Struct
Variant Info - Type info for struct variants.
- Tuple
Variant Info - Type info for tuple variants.
- Unit
Variant Info - Type info for unit variants.
- Variant
Field Iter - An iterator over the fields in the current enum variant.
Enums§
- Dynamic
Variant - A dynamic representation of an enum variant.
- Variant
Field - A field in the current enum variant.
- Variant
Info - A container for compile-time enum variant info.
- Variant
Info Error - A
VariantInfo-specific error. - Variant
Type - Describes the form of an enum variant.
Traits§
- Enum
- A trait used to power enum-like operations via reflection.
Functions§
- enum_
debug - The default debug formatter for
Enumtypes. - enum_
hash - Returns the
u64hash of the given enum. - enum_
partial_ cmp - Compares two
Enumvalues (by variant) and returns their ordering. - enum_
partial_ eq - Compares an
Enumwith aPartialReflectvalue.