pub enum ConstraintDefBodyElement {
Error(Node<ParseErrorNode>),
Doc(Node<DocComment>),
InOutDecl(Node<InOutDecl>),
Expression(Node<Expression>),
Other(String),
}Variants§
Error(Node<ParseErrorNode>)
Doc(Node<DocComment>)
InOutDecl(Node<InOutDecl>)
Expression(Node<Expression>)
Other(String)
Unmodeled constraint-body element captured as raw text (used for library parsing).
Trait Implementations§
Source§impl Clone for ConstraintDefBodyElement
impl Clone for ConstraintDefBodyElement
Source§fn clone(&self) -> ConstraintDefBodyElement
fn clone(&self) -> ConstraintDefBodyElement
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 ConstraintDefBodyElement
impl Debug for ConstraintDefBodyElement
Source§impl PartialEq for ConstraintDefBodyElement
impl PartialEq for ConstraintDefBodyElement
Source§fn eq(&self, other: &ConstraintDefBodyElement) -> bool
fn eq(&self, other: &ConstraintDefBodyElement) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for ConstraintDefBodyElement
impl StructuralPartialEq for ConstraintDefBodyElement
Auto Trait Implementations§
impl Freeze for ConstraintDefBodyElement
impl RefUnwindSafe for ConstraintDefBodyElement
impl Send for ConstraintDefBodyElement
impl Sync for ConstraintDefBodyElement
impl Unpin for ConstraintDefBodyElement
impl UnsafeUnpin for ConstraintDefBodyElement
impl UnwindSafe for ConstraintDefBodyElement
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