[−][src]Crate enum_unitary
Re-exports
pub extern crate enum_iterator; |
Macros
enum_unitary | Derive and implement extra traits for "unitary" enums (i.e. enums where variants do not have payloads): |
Traits
Bounded | Numbers which have upper and lower bounds |
EnumIterator | Type constraint for an enum iterator. |
EnumUnitary | A collection of constraints and methods for unitary enums. |
FromPrimitive | A generic trait for converting a number to a value. |
IntoEnumIterator | Trait to iterate over the variants of a field-less enum. |
ToPrimitive | A generic trait for converting a value to a number. |
Derive Macros
IntoEnumIterator | Derives |