enum BlockKind {
Closure(Vec<TokenTree>),
ClosureWrappingAsync(Vec<TokenTree>),
AsyncClosure(Vec<TokenTree>),
AsyncBlock,
}
Variants§
Closure(Vec<TokenTree>)
ClosureWrappingAsync(Vec<TokenTree>)
AsyncClosure(Vec<TokenTree>)
AsyncBlock
Implementations§
Auto Trait Implementations§
impl Freeze for BlockKind
impl RefUnwindSafe for BlockKind
impl !Send for BlockKind
impl !Sync for BlockKind
impl Unpin for BlockKind
impl UnwindSafe for BlockKind
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more