Home
last modified time | relevance | path

Searched refs:PatType (Results 1 – 17 of 17) sorted by relevance

/external/rust/crates/syn-mid/src/
Dfunc.rs7 use super::PatType;
55 Typed(PatType),
77 use super::{Block, FnArg, ItemFn, PatType, Receiver, Signature};
89 if let FnArg::Typed(PatType { ty, .. }) = input { in parse()
177 fn fn_arg_typed(input: ParseStream<'_>) -> Result<PatType> { in fn_arg_typed() argument
178 Ok(PatType { in fn_arg_typed()
Dpat.rs32 Type(PatType),
101 pub struct PatType {
307 FieldPat, PatIdent, PatPath, PatReference, PatStruct, PatTuple, PatTupleStruct, PatType,
346 impl ToTokens for PatType { implementation
Dlib.rs56 PatType, PatWild,
/external/rust/crates/no-panic/src/
Dlib.rs127 use syn::{parse_macro_input, parse_quote, Attribute, FnArg, Ident, ItemFn, PatType, ReturnType};
141 FnArg::Typed(PatType { pat, .. }) => { in no_panic()
/external/rust/crates/syn/src/
Dpat.rs67 Type(PatType),
279 pub struct PatType {
819 impl ToTokens for PatType { implementation
Dstmt.rs231 pat = Pat::Type(PatType { in stmt_local()
Dlib.rs426 PatRest, PatSlice, PatStruct, PatTuple, PatTupleStruct, PatType, PatWild,
Ditem.rs925 FnArg::Typed(PatType { pat, .. }) => { in receiver()
951 Typed(PatType),
1599 FnArg::Typed(PatType { in parse_fn_args()
1641 fn fn_arg_typed(input: ParseStream) -> Result<PatType> { in fn_arg_typed() argument
1647 return Ok(PatType { in fn_arg_typed()
1658 Ok(PatType { in fn_arg_typed()
Dexpr.rs2445 Ok(Pat::Type(PatType { in closure_arg()
/external/rust/crates/syn/src/gen/
Dfold.rs561 fn fold_pat_type(&mut self, i: PatType) -> PatType { in fold_pat_type() argument
2554 pub fn fold_pat_type<F>(f: &mut F, node: PatType) -> PatType in fold_pat_type()
2558 PatType { in fold_pat_type()
Dclone.rs1629 impl Clone for PatType { implementation
1631 PatType { in clone()
Deq.rs1636 impl Eq for PatType {} implementation
1639 impl PartialEq for PatType { implementation
Dvisit_mut.rs561 fn visit_pat_type_mut(&mut self, i: &mut PatType) { in visit_pat_type_mut() argument
2993 pub fn visit_pat_type_mut<V>(v: &mut V, node: &mut PatType) in visit_pat_type_mut()
Dvisit.rs557 fn visit_pat_type(&mut self, i: &'ast PatType) { in visit_pat_type() argument
2987 pub fn visit_pat_type<'ast, V>(v: &mut V, node: &'ast PatType) in visit_pat_type()
Dhash.rs2082 impl Hash for PatType { implementation
Ddebug.rs2243 impl Debug for PatType { implementation
/external/rust/crates/syn/tests/debug/
Dgen.rs4155 impl Debug for Lite<syn::PatType> {