#[repr(transparent)]pub struct NNComparisonType(pub usize);Tuple Fields§
§0: usizeImplementations§
Trait Implementations§
Source§impl Clone for NNComparisonType
impl Clone for NNComparisonType
Source§fn clone(&self) -> NNComparisonType
fn clone(&self) -> NNComparisonType
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 NNComparisonType
impl Debug for NNComparisonType
Source§impl Default for NNComparisonType
impl Default for NNComparisonType
Source§fn default() -> NNComparisonType
fn default() -> NNComparisonType
Returns the “default value” for a type. Read more
Source§impl From<NNComparisonType> for usize
impl From<NNComparisonType> for usize
Source§fn from(value: NNComparisonType) -> Self
fn from(value: NNComparisonType) -> Self
Converts to this type from the input type.
Source§impl From<usize> for NNComparisonType
impl From<usize> for NNComparisonType
Source§impl Hash for NNComparisonType
impl Hash for NNComparisonType
Source§impl Ord for NNComparisonType
impl Ord for NNComparisonType
Source§fn cmp(&self, other: &NNComparisonType) -> Ordering
fn cmp(&self, other: &NNComparisonType) -> 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
Source§impl PartialEq for NNComparisonType
impl PartialEq for NNComparisonType
Source§fn eq(&self, other: &NNComparisonType) -> bool
fn eq(&self, other: &NNComparisonType) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for NNComparisonType
impl PartialOrd for NNComparisonType
impl Copy for NNComparisonType
impl Eq for NNComparisonType
impl StructuralPartialEq for NNComparisonType
Auto Trait Implementations§
impl Freeze for NNComparisonType
impl RefUnwindSafe for NNComparisonType
impl Send for NNComparisonType
impl Sync for NNComparisonType
impl Unpin for NNComparisonType
impl UnsafeUnpin for NNComparisonType
impl UnwindSafe for NNComparisonType
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