[][src]Enum kb::StmtDesc

pub enum StmtDesc {
    Block(Vec<Stmt>),
    Return(Option<Expr>),
    Assign(AssignTargetVec<AssignTarget>, Expr),
    Expr(Expr),
    Print(Expr),
    Assert(Expr),
    Label(RcStr),
    Goto(RcStr),
    If(Vec<(Expr, Stmt)>, Option<Box<Stmt>>),
    While(ExprBox<Stmt>),
    ForIn(AssignTargetExprBox<Stmt>),
    ForClassic(AssignTargetExprExprboolf64Box<Stmt>),
}

Variants

Block(Vec<Stmt>)
Return(Option<Expr>)
Expr(Expr)
Print(Expr)
Assert(Expr)
Label(RcStr)
Goto(RcStr)
While(ExprBox<Stmt>)
ForClassic(AssignTargetExprExprboolf64Box<Stmt>)

Auto Trait Implementations

impl !RefUnwindSafe for StmtDesc

impl !Send for StmtDesc

impl !Sync for StmtDesc

impl Unpin for StmtDesc

impl !UnwindSafe for StmtDesc

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.