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