typenum::type_operators

Trait IsGreaterOrEqual

Source
pub trait IsGreaterOrEqual<Rhs = Self> {
    type Output: Bit;

    // Required method
    fn is_greater_or_equal(self, rhs: Rhs) -> Self::Output;
}
Expand description

A type operator that returns True if Self >= Rhs, otherwise returns False.

Required Associated Types§

Source

type Output: Bit

The type representing either True or False

Required Methods§

Source

fn is_greater_or_equal(self, rhs: Rhs) -> Self::Output

Method returning True or False.

Implementors§

Source§

impl<A, B> IsGreaterOrEqual<B> for A
where A: Cmp<B> + IsGreaterOrEqualPrivate<B, Compare<A, B>>,

Source§

type Output = <A as IsGreaterOrEqualPrivate<B, <A as Cmp<B>>::Output>>::Output