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
Array(ArrayConstraint)
Record(RecordConstraint)
Trait Implementations
impl Debug for ElementConstraint
[src]
impl HasSpan for ElementConstraint
[src]
fn span(&self) -> Span
[src]
Obtain the full span of the input file that this node covers.
fn human_span(&self) -> Span
[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]
fn from(value: ArrayConstraint) -> ElementConstraint
[src]
Performs the conversion.
impl From<RecordConstraint> for ElementConstraint
[src]
fn from(value: RecordConstraint) -> ElementConstraint
[src]
Performs the conversion.