pub enum ConstraintDefBody {
Semicolon,
Brace {
elements: Vec<Node<ConstraintDefBodyElement>>,
},
}Variants§
Trait Implementations§
Source§impl Clone for ConstraintDefBody
impl Clone for ConstraintDefBody
Source§fn clone(&self) -> ConstraintDefBody
fn clone(&self) -> ConstraintDefBody
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 ConstraintDefBody
impl Debug for ConstraintDefBody
impl Eq for ConstraintDefBody
Source§impl PartialEq for ConstraintDefBody
impl PartialEq for ConstraintDefBody
Source§fn eq(&self, other: &ConstraintDefBody) -> bool
fn eq(&self, other: &ConstraintDefBody) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for ConstraintDefBody
Auto Trait Implementations§
impl Freeze for ConstraintDefBody
impl RefUnwindSafe for ConstraintDefBody
impl Send for ConstraintDefBody
impl Sync for ConstraintDefBody
impl Unpin for ConstraintDefBody
impl UnsafeUnpin for ConstraintDefBody
impl UnwindSafe for ConstraintDefBody
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