Struct moore_vhdl::hir::RecordConstraint
[−]
[src]
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 Debug for RecordConstraint
[src]
impl HasSpan for RecordConstraint
[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