Struct typenum::bit::B0 [−][src]
pub struct B0;
Expand description
The type-level bit 0.
Implementations
Trait Implementations
UTerm + B0 = UTerm
U + B0 = U
And with 1 ( 1 & 0 = 0)
And with 0 ( 0 & B = 0)
Or with 0 ( 0 | 0 = 0)
Or with 0 ( 0 | 1 = 1)
Xor between 0 and 0 ( 0 ^ 0 = 0)
Xor between 1 and 0 ( 1 ^ 0 = 1)
Xor between 0 and 1 ( 0 ^ 1 = 1)
UInt * B0 = UTerm
UTerm * B0 = UTerm
Not of 0 (!0 = 1)
This method returns an [Ordering] between self and other. Read more
This method returns an ordering between self and other values if one exists. Read more
This method tests less than (for self and other) and is used by the < operator. Read more
This method tests less than or equal to (for self and other) and is used by the <=
operator. Read more
This method tests greater than (for self and other) and is used by the > operator. Read more
Shifting UTerm by a 0 bit: UTerm << B0 = UTerm
Shifting left any unsigned by a zero bit: U << B0 = U
Shifting right UTerm by a 0 bit: UTerm >> B0 = UTerm
Shifting right any unsigned by a zero bit: U >> B0 = U
UTerm - B0 = Term
UInt - B0 = UInt
Auto Trait Implementations
Blanket Implementations
pub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut TMutably borrows from an owned value. Read more
pub fn from(t: T) -> T
pub fn from(t: T) -> TPerforms the conversion.
pub fn into(self) -> U
pub fn into(self) -> UPerforms the conversion.