• Home
  • Raw
  • Download

Lines Matching refs:generics

23     let (impl_generics, ty_generics, where_clause) = params.generics.split_for_impl();  in expand_derive_serialize()
88 generics: syn::Generics, field
109 let generics = build_generics(cont); in new() localVariable
115 generics, in new()
131 let generics = bound::without_defaults(cont.generics); in build_generics() localVariable
133 let generics = in build_generics() localVariable
134 bound::with_where_predicates_from_fields(cont, &generics, attr::Field::ser_bound); in build_generics()
136 let generics = in build_generics() localVariable
137 bound::with_where_predicates_from_variants(cont, &generics, attr::Variant::ser_bound); in build_generics()
140 Some(predicates) => bound::with_where_predicates(&generics, predicates), in build_generics()
143 &generics, in build_generics()
728 let (_, ty_generics, where_clause) = params.generics.split_for_impl(); in serialize_adjacently_tagged_variant()
731 params.generics.clone() in serialize_adjacently_tagged_variant()
733 bound::with_lifetime_bound(&params.generics, "'__a") in serialize_adjacently_tagged_variant()
997 let (_, ty_generics, where_clause) = params.generics.split_for_impl(); in serialize_struct_variant_with_flatten()
998 let wrapper_generics = bound::with_lifetime_bound(&params.generics, "'__a"); in serialize_struct_variant_with_flatten()
1216 let (_, ty_generics, where_clause) = params.generics.split_for_impl(); in wrap_serialize_with()
1219 params.generics.clone() in wrap_serialize_with()
1221 bound::with_lifetime_bound(&params.generics, "'__a") in wrap_serialize_with()