Greater

Struct Greater 

Source
pub struct Greater;
Expand description

A potential output from Cmp, this is the type equivalent to the enum variant core::cmp::Ordering::Greater.

Trait Implementations§

Source§

impl Clone for Greater

Source§

fn clone(&self) -> Greater

Returns a duplicate of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Debug for Greater

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl Default for Greater

Source§

fn default() -> Greater

Returns the “default value” for a type. Read more
Source§

impl Eq for Greater

Source§

#[doc(hidden)] fn assert_receiver_is_total_eq(&self)

Source§

impl Hash for Greater

Source§

fn hash<__H: Hasher>(&self, state: &mut __H)

Feeds this value into the given Hasher. Read more
1.3.0 · Source§

fn hash_slice<H>(data: &[Self], state: &mut H)
where H: Hasher, Self: Sized,

Feeds a slice of this type into the given Hasher. Read more
Source§

impl Ord for Greater

Source§

fn cmp(&self, other: &Greater) -> Ordering

This method returns an Ordering between self and other. Read more
1.21.0 · Source§

fn max(self, other: Self) -> Self
where Self: Sized,

Compares and returns the maximum of two values. Read more
1.21.0 · Source§

fn min(self, other: Self) -> Self
where Self: Sized,

Compares and returns the minimum of two values. Read more
1.50.0 · Source§

fn clamp(self, min: Self, max: Self) -> Self
where Self: Sized,

Restrict a value to a certain interval. Read more
Source§

impl Ord for Greater

Returns core::cmp::Ordering::Greater

Source§

impl PartialEq for Greater

Source§

fn eq(&self, other: &Greater) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
Source§

impl PartialOrd for Greater

Source§

fn partial_cmp(&self, other: &Greater) -> Option<Ordering>

This method returns an ordering between self and other values if one exists. Read more
1.0.0 · Source§

fn lt(&self, other: &Rhs) -> bool

Tests less than (for self and other) and is used by the < operator. Read more
1.0.0 · Source§

fn le(&self, other: &Rhs) -> bool

Tests less than or equal to (for self and other) and is used by the <= operator. Read more
1.0.0 · Source§

fn gt(&self, other: &Rhs) -> bool

Tests greater than (for self and other) and is used by the > operator. Read more
1.0.0 · Source§

fn ge(&self, other: &Rhs) -> bool

Tests greater than or equal to (for self and other) and is used by the >= operator. Read more
Source§

#[doc(hidden)] fn __chaining_lt(&self, other: &Rhs) -> ControlFlow<bool>

🔬This is a nightly-only experimental API. (partial_ord_chaining_methods)
If self == other, returns ControlFlow::Continue(()). Otherwise, returns ControlFlow::Break(self < other). Read more
Source§

#[doc(hidden)] fn __chaining_le(&self, other: &Rhs) -> ControlFlow<bool>

🔬This is a nightly-only experimental API. (partial_ord_chaining_methods)
Same as __chaining_lt, but for <= instead of <.
Source§

#[doc(hidden)] fn __chaining_gt(&self, other: &Rhs) -> ControlFlow<bool>

🔬This is a nightly-only experimental API. (partial_ord_chaining_methods)
Same as __chaining_lt, but for > instead of <.
Source§

#[doc(hidden)] fn __chaining_ge(&self, other: &Rhs) -> ControlFlow<bool>

🔬This is a nightly-only experimental API. (partial_ord_chaining_methods)
Same as __chaining_lt, but for >= instead of <.
Source§

impl<N, D, Q, R, Ui, Bi> PrivateDivIf<N, D, Q, R, UInt<Ui, Bi>, Greater> for ()
where D: Copy, UInt<Ui, Bi>: Copy + Sub<B1>, R: Sub<D>, Q: SetBit<UInt<Ui, Bi>, B1>, (): PrivateDiv<N, D, SetBitOut<Q, UInt<Ui, Bi>, B1>, Diff<R, D>, Sub1<UInt<Ui, Bi>>>,

Source§

type Quotient = <() as PrivateDiv<N, D, <Q as SetBit<UInt<Ui, Bi>, B1>>::Output, <R as Sub<D>>::Output, <UInt<Ui, Bi> as Sub<B1>>::Output>>::Quotient

Source§

type Remainder = <() as PrivateDiv<N, D, <Q as SetBit<UInt<Ui, Bi>, B1>>::Output, <R as Sub<D>>::Output, <UInt<Ui, Bi> as Sub<B1>>::Output>>::Remainder

Source§

fn private_div_if_quotient( self, n: N, d: D, q: Q, r: R, i: UInt<Ui, Bi>, _: Greater, ) -> Self::Quotient

Source§

fn private_div_if_remainder( self, n: N, d: D, q: Q, r: R, i: UInt<Ui, Bi>, _: Greater, ) -> Self::Remainder

Source§

impl<N, D, Q, R> PrivateDivIf<N, D, Q, R, UTerm, Greater> for ()
where R: Sub<D>, Q: SetBit<U0, B1>,

Source§

type Quotient = <Q as SetBit<UTerm, B1>>::Output

Source§

type Remainder = <R as Sub<D>>::Output

Source§

fn private_div_if_quotient( self, _: N, _: D, q: Q, _: R, i: U0, _: Greater, ) -> Self::Quotient

Source§

fn private_div_if_remainder( self, _: N, d: D, _: Q, r: R, _: U0, _: Greater, ) -> Self::Remainder

Source§

impl<Ul, Ur> PrivateDivInt<Greater, NInt<Ur>> for NInt<Ul>
where Ul: Unsigned + NonZero + Div<Ur>, Ur: Unsigned + NonZero, <Ul as Div<Ur>>::Output: Unsigned + NonZero,

Source§

type Output = PInt<<Ul as Div<Ur>>::Output>

Source§

fn private_div_int(self, _: Greater, d: NInt<Ur>) -> Self::Output

Source§

impl<Ul, Ur> PrivateDivInt<Greater, NInt<Ur>> for PInt<Ul>
where Ul: Unsigned + NonZero + Div<Ur>, Ur: Unsigned + NonZero, <Ul as Div<Ur>>::Output: Unsigned + NonZero,

Source§

type Output = NInt<<Ul as Div<Ur>>::Output>

Source§

fn private_div_int(self, _: Greater, d: NInt<Ur>) -> Self::Output

Source§

impl<Ul, Ur> PrivateDivInt<Greater, PInt<Ur>> for NInt<Ul>
where Ul: Unsigned + NonZero + Div<Ur>, Ur: Unsigned + NonZero, <Ul as Div<Ur>>::Output: Unsigned + NonZero,

Source§

type Output = NInt<<Ul as Div<Ur>>::Output>

Source§

fn private_div_int(self, _: Greater, d: PInt<Ur>) -> Self::Output

Source§

impl<Ul, Ur> PrivateDivInt<Greater, PInt<Ur>> for PInt<Ul>
where Ul: Unsigned + NonZero + Div<Ur>, Ur: Unsigned + NonZero, <Ul as Div<Ur>>::Output: Unsigned + NonZero,

Source§

type Output = PInt<<Ul as Div<Ur>>::Output>

Source§

fn private_div_int(self, _: Greater, d: PInt<Ur>) -> Self::Output

Source§

impl<N: Unsigned, P> PrivateIntegerAdd<Greater, N> for P
where P: Sub<N> + Unsigned, <P as Sub<N>>::Output: Unsigned + NonZero,

P + N = Positive where P > N

Source§

type Output = PInt<<P as Sub<N>>::Output>

Source§

fn private_integer_add(self, _: Greater, n: N) -> Self::Output

Source§

impl<U, B, Ur> PrivateMax<Ur, Greater> for UInt<U, B>
where Ur: Unsigned, U: Unsigned, B: Bit,

Source§

type Output = UInt<U, B>

Source§

fn private_max(self, _: Ur) -> Self::Output

Source§

impl<U, B, Ur> PrivateMin<Ur, Greater> for UInt<U, B>
where Ur: Unsigned, U: Unsigned, B: Bit,

Source§

type Output = Ur

Source§

fn private_min(self, rhs: Ur) -> Self::Output

Source§

impl Copy for Greater

Source§

impl StructuralPartialEq for Greater

Source§

impl TrivialClone for Greater

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<A, B> IsEqualPrivate<B, Equal> for A

Source§

type Output = B1

Source§

fn is_equal_private( self, _: B, _: Equal, ) -> <A as IsEqualPrivate<B, Equal>>::Output

Source§

impl<A, B> IsEqualPrivate<B, Greater> for A

Source§

impl<A, B> IsEqualPrivate<B, Less> for A

Source§

type Output = B0

Source§

fn is_equal_private( self, _: B, _: Less, ) -> <A as IsEqualPrivate<B, Less>>::Output

Source§

impl<A, B> IsGreaterOrEqualPrivate<B, Equal> for A

Source§

impl<A, B> IsGreaterOrEqualPrivate<B, Greater> for A

Source§

impl<A, B> IsGreaterOrEqualPrivate<B, Less> for A

Source§

impl<A, B> IsGreaterPrivate<B, Equal> for A

Source§

impl<A, B> IsGreaterPrivate<B, Greater> for A

Source§

impl<A, B> IsGreaterPrivate<B, Less> for A

Source§

type Output = B0

Source§

fn is_greater_private( self, _: B, _: Less, ) -> <A as IsGreaterPrivate<B, Less>>::Output

Source§

impl<A, B> IsLessOrEqualPrivate<B, Equal> for A

Source§

impl<A, B> IsLessOrEqualPrivate<B, Greater> for A

Source§

impl<A, B> IsLessOrEqualPrivate<B, Less> for A

Source§

impl<A, B> IsLessPrivate<B, Equal> for A

Source§

type Output = B0

Source§

fn is_less_private( self, _: B, _: Equal, ) -> <A as IsLessPrivate<B, Equal>>::Output

Source§

impl<A, B> IsLessPrivate<B, Greater> for A

Source§

type Output = B0

Source§

fn is_less_private( self, _: B, _: Greater, ) -> <A as IsLessPrivate<B, Greater>>::Output

Source§

impl<A, B> IsLessPrivate<B, Less> for A

Source§

type Output = B1

Source§

fn is_less_private(self, _: B, _: Less) -> <A as IsLessPrivate<B, Less>>::Output

Source§

impl<A, B> IsNotEqualPrivate<B, Equal> for A

Source§

impl<A, B> IsNotEqualPrivate<B, Greater> for A

Source§

impl<A, B> IsNotEqualPrivate<B, Less> for A

Source§

impl<T> Same for T

Source§

type Output = T

Should always be Self
Source§

impl<T> SizedTypeProperties for T

Source§

#[doc(hidden)] const SIZE: usize = _

🔬This is a nightly-only experimental API. (sized_type_properties)
Source§

#[doc(hidden)] const ALIGN: usize = _

🔬This is a nightly-only experimental API. (sized_type_properties)
Source§

#[doc(hidden)] const IS_ZST: bool = _

🔬This is a nightly-only experimental API. (sized_type_properties)
true if this type requires no storage. false if its size is greater than zero. Read more
Source§

#[doc(hidden)] const LAYOUT: Layout = _

🔬This is a nightly-only experimental API. (sized_type_properties)
Source§

#[doc(hidden)] const MAX_SLICE_LEN: usize = _

🔬This is a nightly-only experimental API. (sized_type_properties)
The largest safe length for a [Self]. Read more
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
Source§

impl<T> Printable for T
where T: Copy + Debug,