pub struct ExprAsync {
pub attrs: Vec<Attribute>,
pub async_token: Async,
pub capture: Option<Move>,
pub block: Block,
}
Expand description
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
Auto Trait Implementations
impl RefUnwindSafe for ExprAsync
impl !Send for ExprAsync
impl !Sync for ExprAsync
impl Unpin for ExprAsync
impl UnwindSafe for ExprAsync
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more