pub trait PrivateCmp<Rhs, SoFar> {
type Output;
// Required method
fn private_cmp(&self, _: &Rhs, _: SoFar) -> Self::Output;
}Required Associated Types§
Required Methods§
fn private_cmp(&self, _: &Rhs, _: SoFar) -> Self::Output
Implementors§
Source§impl<U: Unsigned, B: Bit, SoFar: Ord> PrivateCmp<UInt<U, B>, SoFar> for UTerm
Got to the end of just the Lhs. It’s Less.
impl<U: Unsigned, B: Bit, SoFar: Ord> PrivateCmp<UInt<U, B>, SoFar> for UTerm
Got to the end of just the Lhs. It’s Less.
Source§impl<U: Unsigned, B: Bit, SoFar: Ord> PrivateCmp<UTerm, SoFar> for UInt<U, B>
Got to the end of just the Rhs. Lhs is Greater.
impl<U: Unsigned, B: Bit, SoFar: Ord> PrivateCmp<UTerm, SoFar> for UInt<U, B>
Got to the end of just the Rhs. Lhs is Greater.
Source§impl<Ul, Ur, SoFar> PrivateCmp<UInt<Ur, B0>, SoFar> for UInt<Ul, B0>
Comparing non-terimal bits, with both having bit B0.
These are Equal, so we propagate SoFar.
impl<Ul, Ur, SoFar> PrivateCmp<UInt<Ur, B0>, SoFar> for UInt<Ul, B0>
Comparing non-terimal bits, with both having bit B0.
These are Equal, so we propagate SoFar.
type Output = <Ul as PrivateCmp<Ur, SoFar>>::Output
Source§impl<Ul, Ur, SoFar> PrivateCmp<UInt<Ur, B0>, SoFar> for UInt<Ul, B1>
Comparing non-terimal bits, with Lhs having bit B1 and Rhs having bit B0.
SoFar, Lhs is Greater.
impl<Ul, Ur, SoFar> PrivateCmp<UInt<Ur, B0>, SoFar> for UInt<Ul, B1>
Comparing non-terimal bits, with Lhs having bit B1 and Rhs having bit B0.
SoFar, Lhs is Greater.