pub enum Statement {
Let(StatementLet),
Item(Item),
Expr {
expr: Expr,
semicolon_token_opt: Option<SemicolonToken>,
},
Error(Box<[Span]>, ErrorEmitted),
}Variants§
Trait Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for Statement
impl Send for Statement
impl Sync for Statement
impl Unpin for Statement
impl UnwindSafe for Statement
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