Enum moore_vhdl::hir::ElementConstraint [] [src]

pub enum ElementConstraint {
    Array(ArrayConstraint),
    Record(RecordConstraint),
}

An element constraint.

See IEEE 1076-2008 section 6.3.

Be careful when using this code, it's not being tested!
element_constraint := array_constraint | record_constraint

Variants

Trait Implementations

impl Debug for ElementConstraint
[src]

[src]

Formats the value using the given formatter.

impl HasSpan for ElementConstraint
[src]

[src]

Obtain the full span of the input file that this node covers.

[src]

Obtain a span which can be used to refer to this node in error messages presented to humans. This will generally be the name for things like entities, processes, and variables. Defaults to return whatever span() returns. Read more

impl From<ArrayConstraint> for ElementConstraint
[src]

[src]

Performs the conversion.

impl From<RecordConstraint> for ElementConstraint
[src]

[src]

Performs the conversion.