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