| /linux/rust/syn/ |
| H A D | lifetime.rs | 20 pub struct Lifetime { struct 25 impl Lifetime { impl 56 Lifetime { in new() 74 impl Display for Lifetime { implementation 81 impl Clone for Lifetime { implementation 83 Lifetime { in clone() 90 impl PartialEq for Lifetime { implementation 91 fn eq(&self, other: &Lifetime) -> bool { in eq() 96 impl Eq for Lifetime {} implementation 98 impl PartialOrd for Lifetime { implementation [all …]
|
| H A D | generics.rs | 6 use crate::lifetime::Lifetime; 48 Lifetime(LifetimeParam), 63 pub lifetime: Lifetime, 65 pub bounds: Punctuated<Lifetime, Token![+]>, 193 if let GenericParam::Lifetime(lifetime) = self.0.next()? { in next() 207 if let GenericParam::Lifetime(lifetime) = self.0.next()? { in next() 377 pub fn new(lifetime: Lifetime) -> Self { in new() 406 Lifetime(Lifetime), 455 Lifetime(Lifetime), 485 Lifetime(PredicateLifetime), [all …]
|
| H A D | path.rs | 8 use crate::lifetime::Lifetime; 179 Lifetime(Lifetime), 295 use crate::lifetime::Lifetime; 320 if input.peek(Lifetime) && !input.peek2(Token![+]) { in parse() 321 return Ok(GenericArgument::Lifetime(input.parse()?)); in parse() 782 GenericArgument::Lifetime(lt) => lt.to_tokens(tokens), in to_tokens() 818 GenericArgument::Lifetime(_) => { in print_angle_bracketed_generic_arguments() 842 GenericArgument::Lifetime(_) => {} in print_angle_bracketed_generic_arguments()
|
| H A D | ty.rs | 7 use crate::lifetime::Lifetime; 198 pub lifetime: Option<Lifetime>, 282 use crate::lifetime::Lifetime; 390 if content.peek(Lifetime) { in ambig_ty() 469 other @ (TypeParamBound::Lifetime(_) in ambig_ty() 549 || input.peek(Lifetime) in ambig_ty() 608 } else if lookahead.peek(Lifetime) { in ambig_ty() 865 TypeParamBound::Lifetime(lifetime) => { in parse_bounds() 915 TypeParamBound::Lifetime(lifetime) => { in parse()
|
| H A D | buffer.rs | 10 use crate::Lifetime; 223 pub fn lifetime(mut self) -> Option<(Lifetime, Cursor<'a>)> { in lifetime() argument 229 let lifetime = Lifetime { in lifetime()
|
| H A D | scan_expr.rs | 6 use syn::{AngleBracketedGenericArguments, BinOp, Expr, ExprPath, Lifetime, Lit, Token, Type}; 236 Input::ConsumeLifetime => input.parse::<Option<Lifetime>>()?.is_some(), in scan_expr()
|
| H A D | classify.rs | 123 TypeParamBound::Lifetime(_) in trailing_unparameterized_path() 299 TypeParamBound::Lifetime(_) | TypeParamBound::PreciseCapture(_) => { in expr_trailing_brace()
|
| H A D | expr.rs | 12 use crate::lifetime::Lifetime; 342 pub label: Option<Lifetime>, 403 pub label: Option<Lifetime>, 922 || input.peek(Lifetime) // labeled loop in peek() 1115 pub name: Lifetime, 1197 use crate::lifetime::Lifetime; 1271 } else if input.peek(Lifetime) { in parse_with_earlier_boundary_rule() 1863 } else if input.peek(Lifetime) { in atom_expr() 2697 if input.peek(Lifetime) { in parse() 2722 let label: Option<Lifetime> = ahead.parse()?; in expr_break()
|
| H A D | token.rs | 101 use crate::lifetime::Lifetime; 187 impl_low_level_token!("lifetime" Lifetime lifetime);
|
| H A D | lib.rs | 440 pub use crate::lifetime::Lifetime;
|
| H A D | item.rs | 9 use crate::lifetime::Lifetime; 845 pub reference: Option<(Token![&], Option<Lifetime>)>, 854 pub fn lifetime(&self) -> Option<&Lifetime> { in lifetime() argument 924 use crate::lifetime::Lifetime; 1657 let lifetime: Option<Lifetime> = input.parse()?; in parse()
|
| /linux/rust/syn/gen/ |
| H A D | clone.rs | 149 crate::CapturedParam::Lifetime(v0) => { in clone() 150 crate::CapturedParam::Lifetime(v0.clone()) in clone() 953 crate::GenericArgument::Lifetime(v0) => { in clone() 954 crate::GenericArgument::Lifetime(v0.clone()) in clone() 977 crate::GenericParam::Lifetime(v0) => { in clone() 978 crate::GenericParam::Lifetime(v0.clone()) in clone() 2037 crate::TypeParamBound::Lifetime(v0) => { in clone() 2038 crate::TypeParamBound::Lifetime(v0.clone()) in clone() 2263 crate::WherePredicate::Lifetime(v0) => { in clone() 2264 crate::WherePredicate::Lifetime(v0.clone()) in clone()
|
| H A D | eq.rs | 174 crate::CapturedParam::Lifetime(self0), in eq() 175 crate::CapturedParam::Lifetime(other0), in eq() 956 crate::GenericArgument::Lifetime(self0), in eq() 957 crate::GenericArgument::Lifetime(other0), in eq() 992 crate::GenericParam::Lifetime(self0), in eq() 993 crate::GenericParam::Lifetime(other0), in eq() 2051 crate::TypeParamBound::Lifetime(self0), in eq() 2052 crate::TypeParamBound::Lifetime(other0), in eq() 2299 crate::WherePredicate::Lifetime(self0), in eq() 2300 crate::WherePredicate::Lifetime(other0), in eq()
|
| H A D | fold.rs | 579 fn fold_lifetime(&mut self, i: crate::Lifetime) -> crate::Lifetime { in fold_lifetime() argument 1219 crate::CapturedParam::Lifetime(_binding_0) => { in fold_captured_param() 1220 crate::CapturedParam::Lifetime(f.fold_lifetime(_binding_0)) in fold_captured_param() 2185 crate::GenericArgument::Lifetime(_binding_0) => { in fold_generic_argument() 2186 crate::GenericArgument::Lifetime(f.fold_lifetime(_binding_0)) in fold_generic_argument() 2212 crate::GenericParam::Lifetime(_binding_0) => { in fold_generic_param() 2213 crate::GenericParam::Lifetime(f.fold_lifetime_param(_binding_0)) in fold_generic_param() 2678 pub fn fold_lifetime<F>(f: &mut F, node: crate::Lifetime) -> crate::Lifetime in fold_lifetime() 2682 crate::Lifetime { in fold_lifetime() 3621 crate::TypeParamBound::Lifetime(_binding_0) => { in fold_type_param_bound() [all …]
|
| H A D | hash.rs | 243 crate::CapturedParam::Lifetime(v0) => { in hash() 1232 crate::GenericArgument::Lifetime(v0) => { in hash() 1267 crate::GenericParam::Lifetime(v0) => { in hash() 2598 crate::TypeParamBound::Lifetime(v0) => { in hash() 2868 crate::WherePredicate::Lifetime(v0) => { in hash()
|
| H A D | debug.rs | 301 crate::CapturedParam::Lifetime(v0) => { in fmt() 1422 crate::GenericArgument::Lifetime(v0) => { in fmt() 1461 crate::GenericParam::Lifetime(v0) => { in fmt() 1970 impl Debug for crate::Lifetime { implementation 1975 impl crate::Lifetime { implementation 2913 crate::TypeParamBound::Lifetime(v0) => v0.debug(formatter, "Lifetime"), in fmt() 3228 crate::WherePredicate::Lifetime(v0) => { in fmt()
|
| H A D | visit_mut.rs | 550 fn visit_lifetime_mut(&mut self, i: &mut crate::Lifetime) { in visit_lifetime_mut() argument 1202 crate::CapturedParam::Lifetime(_binding_0) => { in visit_captured_param_mut() 2113 crate::GenericArgument::Lifetime(_binding_0) => { in visit_generic_argument_mut() 2140 crate::GenericParam::Lifetime(_binding_0) => { in visit_generic_param_mut() 2584 pub fn visit_lifetime_mut<V>(v: &mut V, node: &mut crate::Lifetime) in visit_lifetime_mut() 3502 crate::TypeParamBound::Lifetime(_binding_0) => { in visit_type_param_bound_mut() 3754 crate::WherePredicate::Lifetime(_binding_0) => { in visit_where_predicate_mut()
|
| H A D | visit.rs | 542 fn visit_lifetime(&mut self, i: &'ast crate::Lifetime) { in visit_lifetime() argument 1200 crate::CapturedParam::Lifetime(_binding_0) => { in visit_captured_param() 2212 crate::GenericArgument::Lifetime(_binding_0) => { in visit_generic_argument() 2239 crate::GenericParam::Lifetime(_binding_0) => { in visit_generic_param() 2719 pub fn visit_lifetime<'ast, V>(v: &mut V, node: &'ast crate::Lifetime) in visit_lifetime() 3680 crate::TypeParamBound::Lifetime(_binding_0) => { in visit_type_param_bound() 3936 crate::WherePredicate::Lifetime(_binding_0) => { in visit_where_predicate()
|
| /linux/Documentation/driver-api/usb/ |
| H A D | dwc3.rst | 584 Lifetime of a ``struct usb_request`` 624 Lifetime of a ``TRB`` 627 A ``TRB`` Lifetime is simple. We are either preparing a ``TRB`` or 663 Lifetime of an Endpoint
|