pub struct ConstraintDeclaration {
pub nodes: (Option<Static>, Keyword, ConstraintIdentifier, ConstraintBlock),
}
Fields§
§nodes: (Option<Static>, Keyword, ConstraintIdentifier, ConstraintBlock)
Trait Implementations§
source§impl Clone for ConstraintDeclaration
impl Clone for ConstraintDeclaration
source§fn clone(&self) -> ConstraintDeclaration
fn clone(&self) -> ConstraintDeclaration
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 ConstraintDeclaration
impl Debug for ConstraintDeclaration
source§impl<'a> From<&'a ConstraintDeclaration> for RefNode<'a>
impl<'a> From<&'a ConstraintDeclaration> for RefNode<'a>
source§fn from(x: &'a ConstraintDeclaration) -> Self
fn from(x: &'a ConstraintDeclaration) -> Self
Converts to this type from the input type.
source§impl<'a> From<&'a ConstraintDeclaration> for RefNodes<'a>
impl<'a> From<&'a ConstraintDeclaration> for RefNodes<'a>
source§fn from(x: &'a ConstraintDeclaration) -> Self
fn from(x: &'a ConstraintDeclaration) -> Self
Converts to this type from the input type.
source§impl From<ConstraintDeclaration> for AnyNode
impl From<ConstraintDeclaration> for AnyNode
source§fn from(x: ConstraintDeclaration) -> Self
fn from(x: ConstraintDeclaration) -> Self
Converts to this type from the input type.
source§impl<'a> IntoIterator for &'a ConstraintDeclaration
impl<'a> IntoIterator for &'a ConstraintDeclaration
source§impl PartialEq<ConstraintDeclaration> for ConstraintDeclaration
impl PartialEq<ConstraintDeclaration> for ConstraintDeclaration
source§fn eq(&self, other: &ConstraintDeclaration) -> bool
fn eq(&self, other: &ConstraintDeclaration) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.