Derive Macro swc_core::common::FromVariant
source · #[derive(FromVariant)]
Available on crate feature
__common
only.Expand description
Derives [From
] for all variants. This only supports an enum where every
variant has a single field.