glib_macros::variant_derive

Function derive_variant_for_enum

source
fn derive_variant_for_enum(
    ident: Ident,
    generics: Generics,
    data_enum: DataEnum,
    mode: EnumMode,
) -> Result<TokenStream>