Crate enum_traits [−] [src]
Simple traits for builtin enum items.
Primarily used by enum_traits_macros
when automatically deriving types.
The crate enum_traits_macros
is required for the derives.
Traits
Discriminant |
Derive this trait for an enum automatically using |
Ends |
Derive this trait for an enum automatically using |
FromIndex |
Derive this trait for an enum automatically using |
Index |
Represents the type used for indexing the variants of the enum item.
|
Iterable |
Derive this trait for an enum automatically using |
Len |
Derive this trait for an enum automatically using |
ToIndex |
Derive this trait for an enum automatically using |