Home
last modified time | relevance | path

Searched refs:LifetimeDef (Results 1 – 15 of 15) sorted by relevance

/external/rust/crates/derive_arbitrary/src/
Dlib.rs42 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/
Dgenerics.rs41 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 …]
Dlib.rs360 BoundLifetimes, ConstParam, GenericParam, Generics, LifetimeDef, PredicateEq,
/external/rust/crates/pin-project-internal/src/
Dutils.rs11 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/
Dderive.rs5 Fields, FieldsNamed, FieldsUnnamed, Generics, Ident, Index, Lifetime, LifetimeDef, Meta,
761 |(i, LifetimeDef { lifetime, .. })| { in make_unpin_impl()
/external/rust/crates/serde_derive/src/
Dbound.rs339 let def = syn::LifetimeDef { in with_lifetime_bound()
Dde.rs238 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/
Dfold.rs434 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()
Dclone.rs1310 impl Clone for LifetimeDef { implementation
1312 LifetimeDef { in clone()
Deq.rs1305 impl Eq for LifetimeDef {} implementation
1308 impl PartialEq for LifetimeDef { implementation
Dvisit_mut.rs437 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()
Dvisit.rs433 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()
Dhash.rs1660 impl Hash for LifetimeDef { implementation
Ddebug.rs1797 impl Debug for LifetimeDef { implementation
/external/rust/crates/syn/tests/debug/
Dgen.rs3397 impl Debug for Lite<syn::LifetimeDef> {