Struct moore_vhdl::hir::Sel [] [src]

pub struct Sel<T> {
    pub matching: bool,
    pub disc: ExprRef,
    pub when: Vec<(T, Spanned<Choices>)>,
}

A selected waveform or expression.

See IEEE 1076-2008 section 10.5.4.

Fields

Whether matching comparisons are to be used.

The discriminant expression that is used to select among the choices.

The selected values, represented as (value, choices) tuples.

Trait Implementations

impl<T: Debug> Debug for Sel<T>
[src]

[src]

Formats the value using the given formatter.