[][src]Enum moore_svlog::hir::GenKind

pub enum GenKind {
    If {
        cond: NodeId,
        main_body: ModuleBlock,
        else_body: Option<ModuleBlock>,
    },
    For {
        init: Vec<NodeId>,
        cond: NodeId,
        step: NodeId,
        body: ModuleBlock,
    },
}

The different forms a generate statement can take.

Variants

If

An if-generate statement.

Fields of If

cond: NodeIdmain_body: ModuleBlockelse_body: Option<ModuleBlock>
For

A for-generate statement.

Fields of For

init: Vec<NodeId>cond: NodeIdstep: NodeIdbody: ModuleBlock

Trait Implementations

impl Clone for GenKind[src]

impl Debug for GenKind[src]

impl Eq for GenKind[src]

impl PartialEq<GenKind> for GenKind[src]

impl StructuralEq for GenKind[src]

impl StructuralPartialEq for GenKind[src]

Auto Trait Implementations

impl RefUnwindSafe for GenKind

impl Send for GenKind

impl Sync for GenKind

impl Unpin for GenKind

impl UnwindSafe for GenKind

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<Q, K> Equivalent<K> for Q where
    K: Borrow<Q> + ?Sized,
    Q: Eq + ?Sized
[src]

impl<T> Erased for T

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

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

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

type Owned = T

The resulting type after obtaining ownership.

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.