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

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