Enum moore_vhdl::hir::Constraint [] [src]

pub enum Constraint {
    Range(Range),
    Array(ArrayConstraint),
    Record(RecordConstraint),
}

A constraint.

See IEEE 1076-2008 section 6.3.

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

Variants

A range constraint.

An array constraint.

A record constraint.

Trait Implementations

impl Debug for Constraint
[src]

[src]

Formats the value using the given formatter.

impl From<ArrayConstraint> for Constraint
[src]

[src]

Performs the conversion.

impl From<RecordConstraint> for Constraint
[src]

[src]

Performs the conversion.