Lines Matching full:generics

18     GenericArgument, GenericParam, Generics, Ident, ItemEnum, ItemImpl, ItemStruct, Lit, LitStr,
86 for pair in item.generics.params.into_pairs() { in parse_struct()
117 if let Some(where_clause) = &item.generics.where_clause { in parse_struct()
161 let generics = Lifetimes { in parse_struct() localVariable
162 lt_token: item.generics.lt_token, in parse_struct()
164 gt_token: item.generics.gt_token, in parse_struct()
175 generics, in parse_struct()
202 if !item.generics.params.is_empty() { in parse_enum()
206 let generics = &item.generics; in parse_enum() localVariable
207 let span = quote!(#vis #enum_token #ident #generics); in parse_enum()
209 } else if let Some(where_clause) = &item.generics.where_clause { in parse_enum()
240 let generics = Lifetimes { in parse_enum() localVariable
253 generics, in parse_enum()
458 let generics = Lifetimes { in parse_extern_type() localVariable
478 generics, in parse_extern_type()
509 let generics = &foreign_fn.sig.generics; in parse_extern_fn() localVariable
510 if generics.where_clause.is_some() in parse_extern_fn()
511 || generics.params.iter().any(|param| match param { in parse_extern_fn()
627 let generics = generics.clone(); in parse_extern_fn() localVariable
643 generics, in parse_extern_fn()
692 let generics: Generics = input.parse()?; in parse_extern_verbatim_type() localVariable
695 for pair in generics.params.into_pairs() { in parse_extern_verbatim_type()
726 lt_token: generics.lt_token, in parse_extern_verbatim_type()
728 gt_token: generics.gt_token, in parse_extern_verbatim_type()
758 generics: Lifetimes, in parse_type_alias()
801 generics, in parse_type_alias()
814 generics: Lifetimes, in parse_extern_type_bounded()
885 generics, in parse_extern_type_bounded()
911 if let Some(where_clause) = imp.generics.where_clause { in parse_impl()
918 lt_token: imp.generics.lt_token, in parse_impl()
920 gt_token: imp.generics.gt_token, in parse_impl()
922 for pair in imp.generics.params.into_pairs() { in parse_impl()
964 Type::Ident(ident) => ident.generics.clone(), in parse_impl()
1204 generics: Lifetimes { in parse_type_path()
1300 let generics = Generics::default(); in parse_type_fn() localVariable
1307 generics, in parse_type_fn()