Struct typenum::bit::B1 [−][src]
pub struct B1;
The type-level bit 1.
Implementations
Trait Implementations
impl<U: Unsigned> Add<B1> for UInt<U, B1> where
U: Add<B1>,
Add1<U>: Unsigned,
[src]
impl<U: Unsigned> Add<B1> for UInt<U, B1> where
U: Add<B1>,
Add1<U>: Unsigned,
[src]UInt<U, B1> + B1 = UInt<U + B1, B0>
impl Clone for B1
[src]
impl Clone for B1
[src]fn clone(&self) -> B1
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl PartialOrd<B1> for B1
[src]
impl PartialOrd<B1> for B1
[src]impl<U: Unsigned, B: Bit> Shl<B1> for UInt<U, B>
[src]
impl<U: Unsigned, B: Bit> Shl<B1> for UInt<U, B>
[src]Shifting left a UInt
by a one bit: UInt<U, B> << B1 = UInt<UInt<U, B>, B0>
impl<U: Unsigned, B: Bit> Shr<B1> for UInt<U, B>
[src]
impl<U: Unsigned, B: Bit> Shr<B1> for UInt<U, B>
[src]Shifting right a UInt
by a 1 bit: UInt<U, B> >> B1 = U
impl<U: Unsigned> Sub<B1> for UInt<U, B0> where
U: Sub<B1>,
Sub1<U>: Unsigned,
[src]
impl<U: Unsigned> Sub<B1> for UInt<U, B0> where
U: Sub<B1>,
Sub1<U>: Unsigned,
[src]UInt<U, B0> - B1 = UInt<U - B1, B1>