[−][src]Macro enum_ordinalize::create_ordinalized_enum
Create an enum and implement a ordinal
method, as well as from_ordinal
and from_ordinal_unsafe
associated functions for it. The new enum also implements Debug
, PartialOrd
, Ord
, PartialEq
, Clone
, Eq
, Hash
and Copy
traits.