into_enum
into_enum provides a single macro, IntoEnum.
Enums with unique variants can derive IntoEnum to provide straight-forward From implementations.
use IntoEnum;
The macro provides the attribute into_enum(skip) to ignore a variant, in case of type conflict or unwanted conversion.
The macro also generates conversions for unit variants and tuple variants. Variants with named fields are skipped.
The macro maintains trait bounds for generic types.