Struct typenum::bit::B1 [−][src]
pub struct B1;
Expand description
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 Ord for B1[src]
impl Ord for B1[src]impl PartialOrd<B1> for B1[src]
impl PartialOrd<B1> for B1[src]fn partial_cmp(&self, other: &B1) -> Option<Ordering>[src]
fn partial_cmp(&self, other: &B1) -> Option<Ordering>[src]This method returns an ordering between self and other values if one exists. Read more
#[must_use]fn lt(&self, other: &Rhs) -> bool1.0.0[src]
#[must_use]fn lt(&self, other: &Rhs) -> bool1.0.0[src]This method tests less than (for self and other) and is used by the < operator. Read more
#[must_use]fn le(&self, other: &Rhs) -> bool1.0.0[src]
#[must_use]fn le(&self, other: &Rhs) -> bool1.0.0[src]This method tests less than or equal to (for self and other) and is used by the <=
operator. Read more
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>