pub struct ConstraintName(/* private fields */);Expand description
A constraint name.
Implementations§
Trait Implementations§
Source§impl Clone for ConstraintName
impl Clone for ConstraintName
Source§fn clone(&self) -> ConstraintName
fn clone(&self) -> ConstraintName
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 ConstraintName
impl Debug for ConstraintName
impl Eq for ConstraintName
Source§impl From<ConstraintName> for Symbol
impl From<ConstraintName> for Symbol
Source§fn from(value: ConstraintName) -> Self
fn from(value: ConstraintName) -> Self
Converts to this type from the input type.
Source§impl Hash for ConstraintName
impl Hash for ConstraintName
Source§impl Ord for ConstraintName
impl Ord for ConstraintName
Source§fn cmp(&self, other: &ConstraintName) -> Ordering
fn cmp(&self, other: &ConstraintName) -> Ordering
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl PartialEq for ConstraintName
impl PartialEq for ConstraintName
Source§impl PartialOrd for ConstraintName
impl PartialOrd for ConstraintName
impl StructuralPartialEq for ConstraintName
Auto Trait Implementations§
impl Freeze for ConstraintName
impl RefUnwindSafe for ConstraintName
impl Send for ConstraintName
impl Sync for ConstraintName
impl Unpin for ConstraintName
impl UnsafeUnpin for ConstraintName
impl UnwindSafe for ConstraintName
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