Struct Less
pub struct Less;
A potential output from Cmp, this is the type equivalent to the enum variant
core::cmp::Ordering::Less.
Trait Implementations
impl Clone for Less
fn clone(&self) -> Self
impl Copy for Less
impl Debug for Less
fn fmt(&self, f: &mut Formatter<'_>) -> Result
impl Default for Less
fn default() -> Self
impl Eq for Less
impl Hash for Less
fn hash<__H: Hasher>(&self, state: &mut __H)
impl Ord for Less
fn cmp(&self, other: &Self) -> Ordering
impl Ord for Less
fn to_ordering() -> Ordering
impl PartialEq for Less
fn eq(&self, other: &Self) -> bool
impl PartialOrd for Less
fn partial_cmp(&self, other: &Self) -> Option<Ordering>
impl StructuralPartialEq for Less
Auto Trait Implementations
impl Freeze for Less
impl RefUnwindSafe for Less
impl Send for Less
impl Sync for Less
impl Unpin for Less
impl UnsafeUnpin for Less
impl UnwindSafe for Less
Blanket Implementations
impl<T> Any for Less
where
T: 'static + ?Sized,
fn type_id(&self) -> TypeId
impl<T> Borrow<T> for Less
where
T: ?Sized,
fn borrow(&self) -> &T
impl<T> BorrowMut<T> for Less
where
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
impl<T> CloneToUninit for Less
where
T: Clone,
unsafe fn clone_to_uninit(&self, dest: *mut u8)
impl<T> From<T> for Less
fn from(t: T) -> TReturns the argument unchanged.
impl<T> Same for Less
type Output = T;
impl<T, U> Into<U> for Less
where
U: From<T>,
fn into(self) -> UCalls
U::from(self).That is, this conversion is whatever the implementation of
[From]<T> for Uchooses to do.
impl<T, U> TryFrom<U> for Less
where
U: Into<T>,
type Error = never;fn try_from(value: U) -> Result<T, never>
impl<T, U> TryInto<U> for Less
where
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error;fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>