Crate enum_unitary [−] [src]
EnumUnitary
trait and enum_unitary!
macro.
The following num_traits
traits are re-exported in the local crate:
use enum_unitary::{Bounded, FromPrimitive, ToPrimitive};
The following macros are also re-exported because they are used in the
enum_unitary!
macro implementation and do not need to be used directly:
macro_attr::{macro_attr};
enum_derive::{enum_derive_util, IterVariants, NextVariant, PrevVariant};
Macros
enum_unitary |
Wraps "unitary" enums (i.e. enums where variants do not have payloads) with
|
Traits
EnumUnitary |
A collection of constraints and methods for unitary enums. |