Home
last modified time | relevance | path

Searched refs:PatIdent (Results 1 – 18 of 18) sorted by relevance

/external/rust/crates/syn-mid/src/
Dpat.rs14 Ident(PatIdent),
44 pub struct PatIdent {
141 FieldPat, Pat, PatIdent, PatPath, PatReference, PatStruct, PatTuple, PatTupleStruct,
200 fn pat_ident(input: ParseStream<'_>) -> Result<PatIdent> { in pat_ident() argument
201 Ok(PatIdent { in pat_ident()
261 Pat::Ident(PatIdent { attrs: Vec::new(), by_ref, mutability, ident: ident.clone() }); in field_pat()
307 FieldPat, PatIdent, PatPath, PatReference, PatStruct, PatTuple, PatTupleStruct, PatType,
317 impl ToTokens for PatIdent { implementation
Dlib.rs55 FieldPat, Pat, PatIdent, PatPath, PatReference, PatStruct, PatTuple, PatTupleStruct,
/external/rust/crates/remain/src/
Dcheck.rs4 use syn::{Error, Field, Pat, PatIdent};
134 fn is_just_ident(pat: &PatIdent) -> bool { in is_just_ident()
/external/rust/crates/async-trait/src/
Dreceiver.rs5 Block, ExprPath, Ident, Item, Macro, Pat, PatIdent, PatPath, Path, Receiver, Signature, Token,
46 fn visit_pat_ident_mut(&mut self, i: &mut PatIdent) { in visit_pat_ident_mut() argument
Dexpand.rs13 Generics, Ident, ImplItem, Lifetime, LifetimeDef, Pat, PatIdent, PathArguments, Receiver,
378 if let Pat::Ident(PatIdent { in transform_block()
/external/rust/crates/pin-project-internal/src/
Dpinned_drop.rs5 ItemImpl, Pat, PatIdent, Path, PathArguments, Result, ReturnType, Signature, Token, Type,
178 fn get_arg_pat(arg: &mut FnArg) -> Option<&mut PatIdent> { in expand_impl() argument
/external/rust/crates/syn/src/
Dpat.rs23 Ident(PatIdent),
120 pub struct PatIdent {
442 fn pat_ident(input: ParseStream) -> Result<PatIdent> { in pat_ident() argument
443 Ok(PatIdent { in pat_ident()
533 let mut pat = Pat::Ident(PatIdent { in field_pat()
778 impl ToTokens for PatIdent { implementation
Dlib.rs417 FieldPat, Pat, PatBox, PatIdent, PatLit, PatMacro, PatOr, PatPath, PatRange, PatReference,
Ditem.rs912 if let Pat::Ident(PatIdent { ident, .. }) = &**pat { in receiver()
/external/rust/crates/tracing-attributes/src/
Dexpand.rs8 Ident, Item, ItemFn, Pat, PatIdent, PatReference, PatStruct, PatTuple, PatTupleStruct, PatType,
451 Pat::Ident(PatIdent { ident, .. }) => Box::new(iter::once((ident, record_type))), in param_names()
633 if let Pat::Ident(PatIdent { ref ident, .. }) = *ty.pat { in from_fn()
/external/rust/crates/syn/src/gen/
Dfold.rs516 fn fold_pat_ident(&mut self, i: PatIdent) -> PatIdent { in fold_pat_ident() argument
2515 pub fn fold_pat_ident<F>(f: &mut F, node: PatIdent) -> PatIdent in fold_pat_ident()
2519 PatIdent { in fold_pat_ident()
Dclone.rs1499 impl Clone for PatIdent { implementation
1501 PatIdent { in clone()
Deq.rs1428 impl Eq for PatIdent {} implementation
1431 impl PartialEq for PatIdent { implementation
Dvisit_mut.rs516 fn visit_pat_ident_mut(&mut self, i: &mut PatIdent) { in visit_pat_ident_mut() argument
2823 pub fn visit_pat_ident_mut<V>(v: &mut V, node: &mut PatIdent) in visit_pat_ident_mut()
Dvisit.rs515 fn visit_pat_ident(&mut self, i: &'ast PatIdent) { in visit_pat_ident() argument
2823 pub fn visit_pat_ident<'ast, V>(v: &mut V, node: &'ast PatIdent) in visit_pat_ident()
Dhash.rs1945 impl Hash for PatIdent { implementation
Ddebug.rs2113 impl Debug for PatIdent { implementation
/external/rust/crates/syn/tests/debug/
Dgen.rs3910 impl Debug for Lite<syn::PatIdent> {