fn add_trait_bounds(mut generics: Generics) -> Generics {
    for param in &mut generics.params {
        if let GenericParam::Type(ref mut type_param) = *param {
            type_param.bounds.push(parse_quote!(::mm0_deepsize::DeepSizeOf));
        }
    }
    generics
}
// Add a bound `T: DeepSizeOf` to every type parameter T.
Add a bound `T: DeepSizeOf` to every type parameter T.
Add a bound ` T : DeepSizeOf ` to every type parameter T .
fn add_trait_bounds(mut generics: Generics) -> Generics {
    for param in &mut generics.params {
        if let GenericParam::Type(ref mut type_param) = *param {
            type_param.bounds.push(parse_quote!(::mm0_deepsize::DeepSizeOf));
        }
    }
    generics
}
fn add_trait_bounds ( mut generics : Generics ) -> Generics { for param in & mut generics . params { if let GenericParam :: Type ( ref mut type_param ) = * param { type_param . bounds . push ( parse_quote ! ( mm0_deepsize DeepSizeOf ) ) ; } } generics }
Add a bound `T: DeepSizeOf` to every type parameter T.
Add a bound ` T : DeepSizeOf ` to every type parameter T .
generics
Generics
generics
Generics