Trait typenum::Cmp
[−]
[src]
pub trait Cmp<Rhs = Self> { type Output; }
Compares Self
and Rhs
. Should only ever return one of Greater
, Less
, or Equal
.
Associated Types
type Output
Implementors
impl Cmp<B0> for B0
impl Cmp<B1> for B0
impl Cmp<B0> for B1
impl Cmp<B1> for B1
impl Cmp<UTerm> for UTerm
impl<U: Unsigned, B: Bit> Cmp<UTerm> for UInt<U, B>
impl<U: Unsigned, B: Bit> Cmp<UInt<U, B>> for UTerm
impl<Ul: Unsigned, Bl: Bit, Ur: Unsigned, Br: Bit> Cmp<UInt<Ur, Br>> for UInt<Ul, Bl> where UInt<Ul, Bl>: PrivateCmp<UInt<Ur, Br>, Equal>
impl Cmp<Z0> for Z0
impl<U: Unsigned + NonZero> Cmp<NInt<U>> for Z0
impl<U: Unsigned + NonZero> Cmp<PInt<U>> for Z0
impl<U: Unsigned + NonZero> Cmp<Z0> for PInt<U>
impl<U: Unsigned + NonZero> Cmp<Z0> for NInt<U>
impl<P: Unsigned + NonZero, N: Unsigned + NonZero> Cmp<PInt<P>> for NInt<N>
impl<P: Unsigned + NonZero, N: Unsigned + NonZero> Cmp<NInt<N>> for PInt<P>
impl<Pl: Cmp<Pr> + Unsigned + NonZero, Pr: Unsigned + NonZero> Cmp<PInt<Pr>> for PInt<Pl>
impl<Nl: Unsigned + NonZero, Nr: Cmp<Nl> + Unsigned + NonZero> Cmp<NInt<Nr>> for NInt<Nl>