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 PartialOrd<B1> for B1
[src]
impl PartialOrd<B1> for B1
[src]fn partial_cmp(&self, other: &B1) -> Option<Ordering>
[src][−]
#[must_use]pub fn lt(&self, other: &Rhs) -> bool
1.0.0[src][−]
#[must_use]
pub fn lt(&self, other: &Rhs) -> bool#[must_use]pub fn le(&self, other: &Rhs) -> bool
1.0.0[src][−]
#[must_use]
pub fn le(&self, other: &Rhs) -> bool#[must_use]pub fn gt(&self, other: &Rhs) -> bool
1.0.0[src][−]
#[must_use]
pub fn gt(&self, other: &Rhs) -> bool#[must_use]pub fn ge(&self, other: &Rhs) -> bool
1.0.0[src][−]
#[must_use]
pub fn ge(&self, other: &Rhs) -> boolimpl<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>