[][src]Struct moore_vhdl::hir::IfStmt

pub struct IfStmt {
    pub branches: Vec<(ExprRef, Vec<SeqStmtRef>)>,
    pub otherwise: Option<Vec<SeqStmtRef>>,
}

An if statement.

See IEEE 1076-2008 section 10.8.

Fields

branches: Vec<(ExprRef, Vec<SeqStmtRef>)>

The condition and statements of each branch.

otherwise: Option<Vec<SeqStmtRef>>

The optional else branch.

Trait Implementations

impl Debug for IfStmt[src]

Auto Trait Implementations

impl RefUnwindSafe for IfStmt

impl Send for IfStmt

impl Sync for IfStmt

impl Unpin for IfStmt

impl UnwindSafe for IfStmt

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.