Home
last modified time | relevance | path

Searched defs:Lifetime (Results 1 – 12 of 12) sorted by relevance

/third_party/rust/crates/syn/src/
Dlifetime.rs19 pub struct Lifetime { struct
24 impl Lifetime { argument
73 impl Display for Lifetime { implementation
80 impl Clone for Lifetime { implementation
89 impl PartialEq for Lifetime { implementation
95 impl Eq for Lifetime {} implementation
97 impl PartialOrd for Lifetime { implementation
103 impl Ord for Lifetime { implementation
109 impl Hash for Lifetime { implementation
118 pub fn Lifetime(marker: lookahead::TokenMarker) -> Lifetime { in Lifetime() function
[all …]
Dbuffer.rs256 pub fn lifetime(mut self) -> Option<(Lifetime, Cursor<'a>)> { in lifetime()
Ditem.rs959 pub fn lifetime(&self) -> Option<&Lifetime> { in lifetime()
/third_party/rust/crates/quote/src/
Druntime.rs219 struct Lifetime<'a> { in push_lifetime() struct
220 name: &'a str, in push_lifetime()
221 state: u8, in push_lifetime()
224 impl<'a> Iterator for Lifetime<'a> { in push_lifetime() implementation
249 struct Lifetime<'a> { in push_lifetime_spanned() struct
250 name: &'a str, in push_lifetime_spanned()
251 span: Span, in push_lifetime_spanned()
252 state: u8, in push_lifetime_spanned()
255 impl<'a> Iterator for Lifetime<'a> { in push_lifetime_spanned() implementation
/third_party/rust/crates/serde/serde_derive/src/internals/
Dattr.rs1477 pub fn borrowed_lifetimes(&self) -> &BTreeSet<syn::Lifetime> { in borrowed_lifetimes()
1662 ) -> Result<BTreeSet<syn::Lifetime>, ()> { in parse_lit_into_lifetimes()
1841 ) -> Result<BTreeSet<syn::Lifetime>, ()> { in borrowable_lifetimes()
1855 fn collect_lifetimes(ty: &syn::Type, out: &mut BTreeSet<syn::Lifetime>) { in collect_lifetimes()
1922 fn collect_lifetimes_from_tokens(tokens: TokenStream, out: &mut BTreeSet<syn::Lifetime>) { in collect_lifetimes_from_tokens()
/third_party/rust/crates/cxx/syntax/
Dcheck.rs612 fn check_reserved_lifetime(cx: &mut Check, lifetime: &Lifetime) { in check_reserved_lifetime()
/third_party/rust/crates/serde/serde_derive/src/
Dde.rs236 fn de_lifetime(&self) -> syn::Lifetime { in de_lifetime()
/third_party/rust/crates/syn/
Dsyn.json2236 "Lifetime": [ array
2297 "Lifetime": [ array
4991 "Lifetime": [ array
5478 "Lifetime": [ array
/third_party/rust/crates/syn/src/gen/
Dfold.rs433 fn fold_lifetime(&mut self, i: Lifetime) -> Lifetime { in fold_lifetime()
Dvisit_mut.rs433 fn visit_lifetime_mut(&mut self, i: &mut Lifetime) { in visit_lifetime_mut()
Ddebug.rs1791 impl Debug for Lifetime { implementation
Dvisit.rs432 fn visit_lifetime(&mut self, i: &'ast Lifetime) { in visit_lifetime()