Crate enum_from_variant

Source
Expand description

Rust Derive Impl from enum

Derive Macrosยง

EnumFromVariant
enum-from-variant crate provides the EnumFromVariant macro, which simplifies the generation of the From<T> trait for converting one enum variant to another enum variant. This is particularly useful when you need to handle error conversions or map different enum types in your Rust code.