Expand description

EnumUnitary trait and enum_unitary! macro.

Repository

Re-exports

pub use enum_iterator;

Macros

Derive and implement extra traits for “unitary” enums (i.e. enums where variants do not have payloads):

Enums

This is an example enum generated by enum_unitary!

Traits

A collection of constraints for unitary enums.

A generic trait for converting a number to a value.

A generic trait for converting a value to a number.