Derive Macro swc_core::ecma::utils::swc_common::FromVariant
source · #[derive(FromVariant)]
Available on crate features
__ecma
and __utils
only.Expand description
Derives [From
] for all variants. This only supports an enum where every
variant has a single field.