• Home
  • Raw
  • Download

Lines Matching refs:generics

27     let (impl_generics, ty_generics, where_clause) = params.generics.split_for_impl();  in expand_derive_serialize()
90 generics: syn::Generics, field
115 let generics = build_generics(cont); in new() localVariable
120 generics, in new()
136 let generics = bound::without_defaults(cont.generics); in build_generics() localVariable
138 let generics = in build_generics() localVariable
139 bound::with_where_predicates_from_fields(cont, &generics, attr::Field::ser_bound); in build_generics()
141 let generics = in build_generics() localVariable
142 bound::with_where_predicates_from_variants(cont, &generics, attr::Variant::ser_bound); in build_generics()
145 Some(predicates) => bound::with_where_predicates(&generics, predicates), in build_generics()
148 &generics, in build_generics()
710 let (_, ty_generics, where_clause) = params.generics.split_for_impl(); in serialize_adjacently_tagged_variant()
713 params.generics.clone() in serialize_adjacently_tagged_variant()
715 bound::with_lifetime_bound(&params.generics, "'__a") in serialize_adjacently_tagged_variant()
978 let (_, ty_generics, where_clause) = params.generics.split_for_impl(); in serialize_struct_variant_with_flatten()
979 let wrapper_generics = bound::with_lifetime_bound(&params.generics, "'__a"); in serialize_struct_variant_with_flatten()
1196 let (_, ty_generics, where_clause) = params.generics.split_for_impl(); in wrap_serialize_with()
1199 params.generics.clone() in wrap_serialize_with()
1201 bound::with_lifetime_bound(&params.generics, "'__a") in wrap_serialize_with()