Trait sc_network::multiaddr::multihash::typenum::IsLessOrEqual [−]
pub trait IsLessOrEqual<Rhs = Self> { type Output: Bit; fn is_less_or_equal(self, rhs: Rhs) -> Self::Output; }
Expand description
A type operator that returns True
if Self <= Rhs
, otherwise returns False
.
Associated Types
Required methods
fn is_less_or_equal(self, rhs: Rhs) -> Self::Output
fn is_less_or_equal(self, rhs: Rhs) -> Self::Output
Method returning True
or False
.
Implementors
impl<A, B> IsLessOrEqual<B> for A where
A: Cmp<B> + IsLessOrEqualPrivate<B, <A as Cmp<B>>::Output>,