Trait typenum::type_operators::IsLessOrEqual

source ·
pub trait IsLessOrEqual<Rhs = Self> {
    type Output: Bit;

    // Required method
    fn is_less_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_less_or_equal(self, rhs: Rhs) -> Self::Output

Method returning True or False.

Implementors§

source§

impl<A, B> IsLessOrEqual<B> for A
where A: Cmp<B> + IsLessOrEqualPrivate<B, Compare<A, B>>,

§

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