pub trait PrivateSub<Rhs = Self> {
type Output;
// Required method
fn private_sub(self, rhs: Rhs) -> Self::Output;
}Expand description
Does the real subtraction for UInts; Sub just calls this and then Trim.
Required Associated Types§
Required Methods§
fn private_sub(self, rhs: Rhs) -> Self::Output
Implementors§
Source§impl<Ul, Ur: Unsigned> PrivateSub<UInt<Ur, B0>> for UInt<Ul, B0>where
Ul: PrivateSub<Ur> + Unsigned,
UInt<Ul, B0> - UInt<Ur, B0> = UInt<Ul - Ur, B0>
impl<Ul, Ur: Unsigned> PrivateSub<UInt<Ur, B0>> for UInt<Ul, B0>where
Ul: PrivateSub<Ur> + Unsigned,
UInt<Ul, B0> - UInt<Ur, B0> = UInt<Ul - Ur, B0>
Source§impl<Ul, Ur: Unsigned> PrivateSub<UInt<Ur, B0>> for UInt<Ul, B1>where
Ul: PrivateSub<Ur> + Unsigned,
UInt<Ul, B1> - UInt<Ur, B0> = UInt<Ul - Ur, B1>
impl<Ul, Ur: Unsigned> PrivateSub<UInt<Ur, B0>> for UInt<Ul, B1>where
Ul: PrivateSub<Ur> + Unsigned,
UInt<Ul, B1> - UInt<Ur, B0> = UInt<Ul - Ur, B1>