Function type_dispatch::derive::add_trait_bounds
source · pub fn add_trait_bounds(generics: &mut Generics, trait_: TokenStream)
Expand description
Add a bound T: trait_
to every type parameter T.
pub fn add_trait_bounds(generics: &mut Generics, trait_: TokenStream)
Add a bound T: trait_
to every type parameter T.