Function derive_more::is_variant::expand

source ·
pub fn expand(
    input: &DeriveInput,
    trait_name: &'static str
) -> Result<TokenStream>