Struct syn::ExprAsync [−][src]
pub struct ExprAsync { pub attrs: Vec<Attribute>, pub async_token: Async, pub capture: Option<Move>, pub block: Block, }
An async block: async { ... }
.
This type is available only if Syn is built with the "full"
feature.
Fields
attrs: Vec<Attribute>
async_token: Async
capture: Option<Move>
block: Block
Trait Implementations
impl Clone for ExprAsync
[src]
impl Clone for ExprAsync
[src]fn clone(&self) -> Self
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl ToTokens for ExprAsync
[src]
impl ToTokens for ExprAsync
[src]