Struct crypto::ciphers::traits::consts::consts::B1 [−]
pub struct B1;
The type-level bit 1.
Implementations
Trait Implementations
impl<U> Add<B1> for UInt<U, B1> where
U: Unsigned + Add<B1>,
<U as Add<B1>>::Output: Unsigned,
impl<U> Add<B1> for UInt<U, B1> where
U: Unsigned + Add<B1>,
<U as Add<B1>>::Output: Unsigned,
UInt<U, B1> + B1 = UInt<U + B1, B0>
impl PartialOrd<B1> for B1
impl PartialOrd<B1> for B1
impl PowerOfTwo for B1
impl PowerOfTwo for B1
impl<U, B> Shl<B1> for UInt<U, B> where
B: Bit,
U: Unsigned,
impl<U, B> Shl<B1> for UInt<U, B> where
B: Bit,
U: Unsigned,
Shifting left a UInt
by a one bit: UInt<U, B> << B1 = UInt<UInt<U, B>, B0>
impl<U, B> Shr<B1> for UInt<U, B> where
B: Bit,
U: Unsigned,
impl<U, B> Shr<B1> for UInt<U, B> where
B: Bit,
U: Unsigned,
Shifting right a UInt
by a 1 bit: UInt<U, B> >> B1 = U
impl StructuralEq for B1
impl StructuralEq for B1
impl StructuralPartialEq for B1
impl StructuralPartialEq for B1