[][src]Enum firm_construction::ast::Stmt

pub enum Stmt<'t> where
    't: 't, 
{ Block(Spanned<'t, Block<'t>>), Empty, If(Box<Spanned<'t, Expr<'t>>>, Box<Spanned<'t, Stmt<'t>>>, Option<Box<Spanned<'t, Stmt<'t>>>>), While(Box<Spanned<'t, Expr<'t>>>, Box<Spanned<'t, Stmt<'t>>>), Expression(Box<Spanned<'t, Expr<'t>>>), Return(Option<Box<Spanned<'t, Expr<'t>>>>), LocalVariableDeclaration(Spanned<'t, Type<'t>>, Spanned<'t, Symbol<'t>>, Option<Box<Spanned<'t, Expr<'t>>>>), }

A statement can have one of the kinds:

Variants

Trait Implementations

impl<'t> PartialEq<Stmt<'t>> for Stmt<'t>
[src]

impl<'t> Eq for Stmt<'t>
[src]

impl<'t> Debug for Stmt<'t>
[src]

impl<'t, '_enum> From<&'_enum Stmt<'t>> for StmtDiscriminants
[src]

impl<'t> From<Stmt<'t>> for StmtDiscriminants
[src]

impl<'t> Clone for Stmt<'t>
[src]

Performs copy-assignment from source. Read more

Auto Trait Implementations

impl<'t> Send for Stmt<'t>

impl<'t> Sync for Stmt<'t>

Blanket Implementations

impl<T> From for T
[src]

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

impl<T> ToOwned for T where
    T: Clone
[src]

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

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

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

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

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

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

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