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) -> Self
fn from(x: &'a ClassConstraint) -> Self
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) -> Self
fn from(x: &'a ClassConstraint) -> Self
Converts to this type from the input type.
source§impl From<ClassConstraint> for AnyNode
impl From<ClassConstraint> for AnyNode
source§fn from(x: ClassConstraint) -> Self
fn from(x: ClassConstraint) -> Self
Converts to this type from the input type.
source§impl<'a> IntoIterator for &'a ClassConstraint
impl<'a> IntoIterator for &'a ClassConstraint
source§impl PartialEq<ClassConstraint> for ClassConstraint
impl PartialEq<ClassConstraint> 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 ==
.