serde_derive::bound

Function with_where_predicates_from_variants

source
pub fn with_where_predicates_from_variants(
    cont: &Container<'_>,
    generics: &Generics,
    from_variant: fn(_: &Variant) -> Option<&[WherePredicate]>,
) -> Generics