[−][src]Struct moore_vhdl::hir::ArrayConstraint
An array constraint.
See IEEE 1076-2008 section 5.3.2.
array_constraint :=
index_constraint [array.element_constraint] |
"(" "open" ")" [array.element_constraint]
Fields
span: Span
The span this constraint covers.
index: Vec<Spanned<DiscreteRange>>
The index constraint. An empty vector corresponds to the open
constraint.
elem: Option<Box<Spanned<ElementConstraint>>>
The optional element constraint.
Trait Implementations
impl Debug for ArrayConstraint
[src]
impl From<ArrayConstraint> for Constraint
[src]
fn from(value: ArrayConstraint) -> Constraint
[src]
impl From<ArrayConstraint> for ElementConstraint
[src]
fn from(value: ArrayConstraint) -> ElementConstraint
[src]
impl HasSpan for ArrayConstraint
[src]
Auto Trait Implementations
impl RefUnwindSafe for ArrayConstraint
impl Send for ArrayConstraint
impl Sync for ArrayConstraint
impl Unpin for ArrayConstraint
impl UnwindSafe for ArrayConstraint
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,