[][src]Struct moore_vhdl::hir::RecordConstraint

pub struct RecordConstraint {
    pub span: Span,
    pub elems: Vec<(Spanned<Name>, Box<Spanned<ElementConstraint>>)>,
}

A record constraint as per IEEE 1076-2008 section 5.3.3.

Fields

span: Span

The span this constraint covers.

elems: Vec<(Spanned<Name>, Box<Spanned<ElementConstraint>>)>

Constraints for individual elements.

Trait Implementations

impl From<RecordConstraint> for Constraint
[src]

impl From<RecordConstraint> for ElementConstraint
[src]

impl Debug for RecordConstraint
[src]

impl HasSpan for RecordConstraint
[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.