Lines Matching full:generics
5 Fields, FieldsNamed, FieldsUnnamed, Generics, Ident, Index, Lifetime, LifetimeDef, Meta,
25 let ty_generics = input.generics.split_for_impl().1; in parse_derive()
28 visitor.visit_generics_mut(&mut input.generics); in parse_derive()
33 cx = Context::new(&input.attrs, &input.vis, ident, &mut input.generics, Struct)?; in parse_derive()
37 cx = Context::new(&input.attrs, &input.vis, ident, &mut input.generics, Enum)?; in parse_derive()
176 generics: &'a mut Generics, in new() argument
191 determine_lifetime_name(&mut lifetime_name, generics); in new()
194 let ty_generics = generics.split_for_impl().1; in new()
196 let mut proj_generics = generics.clone(); in new()
203 let mut where_clause = generics.make_where_clause().clone(); in new()
224 generics: proj_generics, in new()
227 orig: OriginalType { attrs, vis, ident, generics }, in new()
248 /// Generics of the original type.
249 generics: &'a Generics, field
263 /// Generics of the projected types.
264 generics: Generics, field
350 let mut orig_generics = cx.orig.generics.clone(); in parse_struct()
352 let proj_generics = &cx.proj.generics; in parse_struct()
435 let mut orig_generics = cx.orig.generics.clone();
437 let proj_generics = &cx.proj.generics;
672 let mut proj_generics = cx.proj.generics.clone(); in make_unpin_impl()
682 let ty_generics = cx.orig.generics.split_for_impl().1; in make_unpin_impl()
692 let mut proj_generics = cx.proj.generics.clone(); in make_unpin_impl()
703 let ty_generics = cx.orig.generics.split_for_impl().1; in make_unpin_impl()
730 let mut full_where_clause = cx.orig.generics.where_clause.clone().unwrap(); in make_unpin_impl()
760 let lifetime_fields = cx.orig.generics.lifetimes().enumerate().map( in make_unpin_impl()
771 let type_params = cx.orig.generics.type_params().map(|t| &t.ident); in make_unpin_impl()
772 let proj_generics = &cx.proj.generics; in make_unpin_impl()
774 let (_, ty_generics, where_clause) = cx.orig.generics.split_for_impl(); in make_unpin_impl()
832 let (impl_generics, ty_generics, where_clause) = cx.orig.generics.split_for_impl(); in make_drop_impl()
924 let orig_ty_generics = cx.orig.generics.split_for_impl().1; in make_proj_impl()
925 let proj_ty_generics = cx.proj.generics.split_for_impl().1; in make_proj_impl()
926 let (impl_generics, ty_generics, where_clause) = cx.orig.generics.split_for_impl(); in make_proj_impl()
1080 let (impl_generics, ty_generics, where_clause) = orig.generics.split_for_impl(); in ensure_not_packed()