Home
last modified time | relevance | path

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

/external/rust/crates/syn-mid/src/
Dfunc.rs34 pub asyncness: Option<Token![async]>,
100 let asyncness: Option<Token![async]> = input.parse()?; in parse() localVariable
117 asyncness, in parse()
224 self.asyncness.to_tokens(tokens); in to_tokens()
/external/rust/crates/async-trait/src/
Dexpand.rs70 if sig.asyncness.is_some() { in expand()
111 if sig.asyncness.is_some() { in expand()
164 sig.fn_token.span = sig.asyncness.take().unwrap().span; in transform_sig()
/external/rust/crates/tokio-macros/src/
Dentry.rs187 if sig.asyncness.is_none() { in parse_knobs()
192 sig.asyncness = None; in parse_knobs()
/external/rust/crates/syn/src/gen/
Dclone.rs415 asyncness: self.asyncness.clone(), in clone()
1765 asyncness: self.asyncness.clone(), in clone()
Deq.rs438 && self.asyncness == other.asyncness in eq()
1783 && self.asyncness == other.asyncness in eq()
Dfold.rs1213 asyncness: (node.asyncness).map(|it| Token![async](tokens_helper(f, &it.span))), in fold_expr_closure()
2708 asyncness: (node.asyncness).map(|it| Token![async](tokens_helper(f, &it.span))), in fold_signature()
Dhash.rs644 self.asyncness.hash(state); in hash()
2247 self.asyncness.hash(state); in hash()
Ddebug.rs729 formatter.field("asyncness", &self.asyncness); in fmt()
2400 formatter.field("asyncness", &self.asyncness); in fmt()
Dvisit_mut.rs1373 if let Some(it) = &mut node.asyncness { in visit_expr_closure_mut()
3162 if let Some(it) = &mut node.asyncness { in visit_signature_mut()
Dvisit.rs1369 if let Some(it) = &node.asyncness { in visit_expr_closure()
3156 if let Some(it) = &node.asyncness { in visit_signature()
/external/rust/crates/syn/src/
Dexpr.rs406 pub asyncness: Option<Token![async]>,
2372 let asyncness: Option<Token![async]> = input.parse()?; in expr_closure() localVariable
2373 let movability: Option<Token![static]> = if asyncness.is_none() { in expr_closure()
2415 asyncness, in expr_closure()
3198 self.asyncness.to_tokens(tokens); in to_tokens()
Ditem.rs906 pub asyncness: Option<Token![async]>,
1493 let asyncness: Option<Token![async]> = input.parse()?; in parse() localVariable
1510 asyncness, in parse()
3306 self.asyncness.to_tokens(tokens); in to_tokens()
/external/rust/crates/syn/tests/common/
Deq.rs298 spanless_eq_struct!(FnHeader; constness asyncness unsafety ext);
/external/rust/cxx/syntax/
Dparse.rs529 if foreign_fn.sig.asyncness.is_some() { in parse_extern_fn()
/external/rust/crates/syn/tests/debug/
Dgen.rs594 if let Some(val) = &_val.asyncness { in fmt()
1297 if let Some(val) = &_val.asyncness { in fmt()
4415 if let Some(val) = &_val.asyncness { in fmt()