Derive Macrosยง
- All
- Adds an function
all
to enum, returning an array with all variants of the enum - From
ToStr - Implements
AsRef<str>
,Into<String>
,Display
(thereforeToString
),FromStr
,TryFrom<String>
,Serialize
andDeserialize
for enum. - Not
- Implements
Not
for enum.