Enum escodegen::Stmt[][src]

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

Variants

Trait Implementations

impl Clone for Stmt
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for Stmt
[src]

Formats the value using the given formatter. Read more

impl PartialEq for Stmt
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

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