pub enum StmtNode {
Expr(ExprStmtNode),
Block(BlockStmtNode),
If(IfStmtNode),
While(WhileStmtNode),
For(ForStmtNode),
Break(BreakStmtNode),
Continue(ContinueStmtNode),
Return(ReturnStmtNode),
}Variants§
Expr(ExprStmtNode)
Block(BlockStmtNode)
If(IfStmtNode)
While(WhileStmtNode)
For(ForStmtNode)
Break(BreakStmtNode)
Continue(ContinueStmtNode)
Return(ReturnStmtNode)
Implementations§
Trait Implementations§
impl Copy for StmtNode
impl StructuralPartialEq for StmtNode
Auto Trait Implementations§
impl Freeze for StmtNode
impl RefUnwindSafe for StmtNode
impl Send for StmtNode
impl Sync for StmtNode
impl Unpin for StmtNode
impl UnsafeUnpin for StmtNode
impl UnwindSafe for StmtNode
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