Enum sv_parser::ConstraintExpression
source · pub enum ConstraintExpression {
Expression(Box<ConstraintExpressionExpression>),
UniquenessConstraint(Box<(UniquenessConstraint, Symbol)>),
Arrow(Box<ConstraintExpressionArrow>),
If(Box<ConstraintExpressionIf>),
Foreach(Box<ConstraintExpressionForeach>),
Disable(Box<ConstraintExpressionDisable>),
}
Variants§
Expression(Box<ConstraintExpressionExpression>)
UniquenessConstraint(Box<(UniquenessConstraint, Symbol)>)
Arrow(Box<ConstraintExpressionArrow>)
If(Box<ConstraintExpressionIf>)
Foreach(Box<ConstraintExpressionForeach>)
Disable(Box<ConstraintExpressionDisable>)
Trait Implementations§
source§impl Clone for ConstraintExpression
impl Clone for ConstraintExpression
source§fn clone(&self) -> ConstraintExpression
fn clone(&self) -> ConstraintExpression
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for ConstraintExpression
impl Debug for ConstraintExpression
source§impl<'a> From<&'a ConstraintExpression> for RefNode<'a>
impl<'a> From<&'a ConstraintExpression> for RefNode<'a>
source§fn from(x: &'a ConstraintExpression) -> RefNode<'a>
fn from(x: &'a ConstraintExpression) -> RefNode<'a>
Converts to this type from the input type.
source§impl<'a> From<&'a ConstraintExpression> for RefNodes<'a>
impl<'a> From<&'a ConstraintExpression> for RefNodes<'a>
source§fn from(x: &'a ConstraintExpression) -> RefNodes<'a>
fn from(x: &'a ConstraintExpression) -> RefNodes<'a>
Converts to this type from the input type.
source§impl From<ConstraintExpression> for AnyNode
impl From<ConstraintExpression> for AnyNode
source§fn from(x: ConstraintExpression) -> AnyNode
fn from(x: ConstraintExpression) -> AnyNode
Converts to this type from the input type.
source§impl<'a> IntoIterator for &'a ConstraintExpression
impl<'a> IntoIterator for &'a ConstraintExpression
source§impl PartialEq for ConstraintExpression
impl PartialEq for ConstraintExpression
source§fn eq(&self, other: &ConstraintExpression) -> bool
fn eq(&self, other: &ConstraintExpression) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl<'a> TryFrom<&'a ConstraintExpression> for Locate
impl<'a> TryFrom<&'a ConstraintExpression> for Locate
source§impl TryFrom<AnyNode> for ConstraintExpression
impl TryFrom<AnyNode> for ConstraintExpression
source§impl TryFrom<ConstraintExpression> for Locate
impl TryFrom<ConstraintExpression> for Locate
impl StructuralPartialEq for ConstraintExpression
Auto Trait Implementations§
impl RefUnwindSafe for ConstraintExpression
impl Send for ConstraintExpression
impl Sync for ConstraintExpression
impl Unpin for ConstraintExpression
impl UnwindSafe for ConstraintExpression
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more