Trait IsLess
libipld::cid::multihash::typenum::type_operators
pub trait IsLess<Rhs = Self> { type Output: Bit; fn is_less(self, rhs: Rhs) -> Self::Output; }
A type operator that returns True if Self < Rhs, otherwise returns False.
True
Self < Rhs
False
type Output: Bit
The type representing either True or False
fn is_less(self, rhs: Rhs) -> Self::Output
Method returning True or False.
impl<A, B> IsLess<B> for A where A: Cmp<B> + IsLessPrivate<B, <A as Cmp<B>>::Output>,
type Output = <A as IsLessPrivate<B, <A as Cmp<B>>::Output>>::Output
pub fn is_less(self, rhs: B) -> <A as IsLess<B>>::Output