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

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

An element constraint.

See IEEE 1076-2008 section 6.3.

element_constraint := array_constraint | record_constraint

Variants

Array(ArrayConstraint)Record(RecordConstraint)

Trait Implementations

impl From<ArrayConstraint> for ElementConstraint
[src]

impl From<RecordConstraint> for ElementConstraint
[src]

impl Debug for ElementConstraint
[src]

impl HasSpan for ElementConstraint
[src]

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

Auto Trait Implementations

Blanket Implementations

impl<T> From for T
[src]

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

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

type Error = !

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

impl<T> Borrow for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> BorrowMut for T where
    T: ?Sized
[src]

impl<T, U> TryInto for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.