pub enum StmtDesc {
Block(Vec<Stmt>),
Return(Option<Expr>),
Assign(AssignTarget, Vec<AssignTarget>, Expr),
Expr(Expr),
Print(Expr),
Assert(Expr),
Label(RcStr),
Goto(RcStr),
If(Vec<(Expr, Stmt)>, Option<Box<Stmt>>),
While(Expr, Box<Stmt>),
ForIn(AssignTarget, Expr, Box<Stmt>),
ForClassic(AssignTarget, Expr, Expr, bool, f64, Box<Stmt>),
}
Variants§
Block(Vec<Stmt>)
Return(Option<Expr>)
Assign(AssignTarget, Vec<AssignTarget>, Expr)
Expr(Expr)
Print(Expr)
Assert(Expr)
Label(RcStr)
Goto(RcStr)
If(Vec<(Expr, Stmt)>, Option<Box<Stmt>>)
While(Expr, Box<Stmt>)
ForIn(AssignTarget, Expr, Box<Stmt>)
ForClassic(AssignTarget, Expr, Expr, bool, f64, Box<Stmt>)
Auto Trait Implementations§
impl Freeze for StmtDesc
impl !RefUnwindSafe for StmtDesc
impl !Send for StmtDesc
impl !Sync for StmtDesc
impl Unpin for StmtDesc
impl !UnwindSafe for StmtDesc
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