Enum moore_vhdl::hir::Constraint
source · [−]pub enum Constraint {
Range(Range),
Array(ArrayConstraint),
Record(RecordConstraint),
}
Expand description
A constraint.
See IEEE 1076-2008 section 6.3.
constraint := range_constraint | array_constraint | record_constraint
Variants
Range(Range)
A range constraint.
Array(ArrayConstraint)
An array constraint.
Record(RecordConstraint)
A record constraint.
Trait Implementations
sourceimpl Debug for Constraint
impl Debug for Constraint
sourceimpl From<ArrayConstraint> for Constraint
impl From<ArrayConstraint> for Constraint
sourcefn from(value: ArrayConstraint) -> Constraint
fn from(value: ArrayConstraint) -> Constraint
Performs the conversion.
sourceimpl From<RecordConstraint> for Constraint
impl From<RecordConstraint> for Constraint
sourcefn from(value: RecordConstraint) -> Constraint
fn from(value: RecordConstraint) -> Constraint
Performs the conversion.
Auto Trait Implementations
impl RefUnwindSafe for Constraint
impl Send for Constraint
impl Sync for Constraint
impl Unpin for Constraint
impl UnwindSafe for Constraint
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more