IsLess in typenum::type_operators - Rust
Description: A type operator that returns `True` if `Self < Rhs`, otherwise returns `False`.
Keywords: rust, rustlang, rust-lang, IsLess

# Trait typenum::type_operators::IsLess

source ·

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

        fn is_less(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(self, rhs: Rhs) -> Self::Output

Method returning `True` or `False`.

## Implementors§

source§

### impl<A, B> IsLess<B> for Awhere
A: Cmp<B> + IsLessPrivate<B, Compare<A, B>>,

§

#### type Output = <A as IsLessPrivate<B, <A as Cmp<B>>::Output>>::Output