enumx
#[derive(FromVariant)]
Derives the trait enumx::FromVariant for user defined enum types.
enumx::FromVariant