Derive Macro from_variant::FromVariant

source ·
#[derive(FromVariant)]
Expand description

Derives From for all variants. This only supports an enum where every variant has a single field.