swc_common

Derive Macro FromVariant

source
#[derive(FromVariant)]
Expand description

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