Enum escodegen::Stmt[][src]

pub enum Stmt {
    Block(Vec<Stmt>),
    Empty,
    Expr(Expr),
    If(ExprBox<Stmt>, Option<Box<Stmt>>),
    Return(Option<Expr>),
    Var(StringOption<Expr>),
    While(ExprBox<Stmt>),
}

Variants

Trait Implementations

impl Debug for Stmt
[src]

Formats the value using the given formatter. Read more

impl Display for Stmt
[src]

Formats the value using the given formatter. Read more

Auto Trait Implementations

impl Send for Stmt

impl Sync for Stmt