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