/external/rust/crates/derive_arbitrary/src/ |
D | lib.rs | 42 fn build_arbitrary_lifetime(generics: Generics) -> (LifetimeDef, LifetimeDef) { in build_arbitrary_lifetime() argument 44 LifetimeDef::new(Lifetime::new(ARBITRARY_LIFETIME_NAME, Span::call_site())); in build_arbitrary_lifetime() 59 fn add_trait_bounds(mut generics: Generics, lifetime: LifetimeDef) -> Generics { in add_trait_bounds() 70 fn gen_arbitrary_method(input: &DeriveInput, lifetime: LifetimeDef) -> TokenStream { in gen_arbitrary_method()
|
/external/rust/crates/syn/src/ |
D | generics.rs | 41 Lifetime(LifetimeDef), 70 pub struct LifetimeDef { 228 type Item = &'a LifetimeDef; 246 type Item = &'a mut LifetimeDef; 437 pub lifetimes: Punctuated<LifetimeDef, Token![,]>, 453 impl LifetimeDef { implementation 455 LifetimeDef { in new() 622 params.push_value(GenericParam::Lifetime(LifetimeDef { in parse() 679 Ok(GenericParam::Lifetime(LifetimeDef { in parse() 695 impl Parse for LifetimeDef { implementation [all …]
|
D | lib.rs | 360 BoundLifetimes, ConstParam, GenericParam, Generics, LifetimeDef, PredicateEq,
|
/external/rust/crates/pin-project-internal/src/ |
D | utils.rs | 11 Attribute, ExprPath, ExprStruct, Generics, Ident, Item, Lifetime, LifetimeDef, Macro, PatPath, 39 fn visit_lifetime_def_mut(&mut self, def: &mut LifetimeDef) { in determine_lifetime_name() argument 81 generics.params.insert(0, LifetimeDef::new(lifetime).into()); in insert_lifetime()
|
/external/rust/crates/pin-project-internal/src/pin_project/ |
D | derive.rs | 5 Fields, FieldsNamed, FieldsUnnamed, Generics, Ident, Index, Lifetime, LifetimeDef, Meta, 761 |(i, LifetimeDef { lifetime, .. })| { in make_unpin_impl()
|
/external/rust/crates/serde_derive/src/ |
D | bound.rs | 339 let def = syn::LifetimeDef { in with_lifetime_bound()
|
D | de.rs | 238 fn de_lifetime_def(&self) -> Option<syn::LifetimeDef> { in de_lifetime_def() argument 240 BorrowedLifetimes::Borrowed(bounds) => Some(syn::LifetimeDef { in de_lifetime_def() 3039 let def = syn::LifetimeDef { in to_tokens() 3065 let def = syn::LifetimeDef { in to_tokens() 3089 fn place_lifetime() -> syn::LifetimeDef { in place_lifetime() 3090 syn::LifetimeDef { in place_lifetime()
|
/external/rust/crates/syn/src/gen/ |
D | fold.rs | 434 fn fold_lifetime_def(&mut self, i: LifetimeDef) -> LifetimeDef { in fold_lifetime_def() argument 2162 pub fn fold_lifetime_def<F>(f: &mut F, node: LifetimeDef) -> LifetimeDef in fold_lifetime_def() 2166 LifetimeDef { in fold_lifetime_def()
|
D | clone.rs | 1310 impl Clone for LifetimeDef { implementation 1312 LifetimeDef { in clone()
|
D | eq.rs | 1305 impl Eq for LifetimeDef {} implementation 1308 impl PartialEq for LifetimeDef { implementation
|
D | visit_mut.rs | 437 fn visit_lifetime_def_mut(&mut self, i: &mut LifetimeDef) { in visit_lifetime_def_mut() argument 2518 pub fn visit_lifetime_def_mut<V>(v: &mut V, node: &mut LifetimeDef) in visit_lifetime_def_mut()
|
D | visit.rs | 433 fn visit_lifetime_def(&mut self, i: &'ast LifetimeDef) { in visit_lifetime_def() argument 2512 pub fn visit_lifetime_def<'ast, V>(v: &mut V, node: &'ast LifetimeDef) in visit_lifetime_def()
|
D | hash.rs | 1660 impl Hash for LifetimeDef { implementation
|
D | debug.rs | 1797 impl Debug for LifetimeDef { implementation
|
/external/rust/crates/syn/tests/debug/ |
D | gen.rs | 3397 impl Debug for Lite<syn::LifetimeDef> {
|