Crate surjective_enum

Crate surjective_enum 

Source
Expand description

Surjective mapping for conversion of enum representation to enmu. See the macro documentation and tests for example usage.

Derive Macrosยง

From
Derive a surjective ::core::convert::From conversion function which maps all values which are not part of the enumeration to the last enum discriminant.