Enum sv_parser::source_text::ClassConstraint
source · pub enum ClassConstraint {
ConstraintPrototype(Box<ConstraintPrototype>),
ConstraintDeclaration(Box<ConstraintDeclaration>),
}
Variants§
ConstraintPrototype(Box<ConstraintPrototype>)
ConstraintDeclaration(Box<ConstraintDeclaration>)
Trait Implementations§
source§impl Clone for ClassConstraint
impl Clone for ClassConstraint
source§fn clone(&self) -> ClassConstraint
fn clone(&self) -> ClassConstraint
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 ClassConstraint
impl Debug for ClassConstraint
source§impl<'a> From<&'a ClassConstraint> for RefNode<'a>
impl<'a> From<&'a ClassConstraint> for RefNode<'a>
source§fn from(x: &'a ClassConstraint) -> RefNode<'a>
fn from(x: &'a ClassConstraint) -> RefNode<'a>
Converts to this type from the input type.
source§impl<'a> From<&'a ClassConstraint> for RefNodes<'a>
impl<'a> From<&'a ClassConstraint> for RefNodes<'a>
source§fn from(x: &'a ClassConstraint) -> RefNodes<'a>
fn from(x: &'a ClassConstraint) -> RefNodes<'a>
Converts to this type from the input type.
source§impl From<ClassConstraint> for AnyNode
impl From<ClassConstraint> for AnyNode
source§fn from(x: ClassConstraint) -> AnyNode
fn from(x: ClassConstraint) -> AnyNode
Converts to this type from the input type.
source§impl<'a> IntoIterator for &'a ClassConstraint
impl<'a> IntoIterator for &'a ClassConstraint
source§impl PartialEq for ClassConstraint
impl PartialEq for ClassConstraint
source§fn eq(&self, other: &ClassConstraint) -> bool
fn eq(&self, other: &ClassConstraint) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl<'a> TryFrom<&'a ClassConstraint> for Locate
impl<'a> TryFrom<&'a ClassConstraint> for Locate
source§impl TryFrom<AnyNode> for ClassConstraint
impl TryFrom<AnyNode> for ClassConstraint
source§impl TryFrom<ClassConstraint> for Locate
impl TryFrom<ClassConstraint> for Locate
impl StructuralPartialEq for ClassConstraint
Auto Trait Implementations§
impl RefUnwindSafe for ClassConstraint
impl Send for ClassConstraint
impl Sync for ClassConstraint
impl Unpin for ClassConstraint
impl UnwindSafe for ClassConstraint
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