pub struct B0;
Expand description
The type-level bit 0.
Implementations§
Trait Implementations§
source§impl Ord for B0
impl Ord for B0
source§impl PartialOrd for B0
impl PartialOrd for B0
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moresource§impl<U: Unsigned, B: Bit> Shl<B0> for UInt<U, B>
impl<U: Unsigned, B: Bit> Shl<B0> for UInt<U, B>
Shifting left any unsigned by a zero bit: U << B0 = U
source§impl<U: Unsigned, B: Bit> Shr<B0> for UInt<U, B>
impl<U: Unsigned, B: Bit> Shr<B0> for UInt<U, B>
Shifting right any unsigned by a zero bit: U >> B0 = U
impl Copy for B0
impl Eq for B0
impl StructuralEq for B0
impl StructuralPartialEq for B0
impl Zero for B0
Auto Trait Implementations§
impl RefUnwindSafe for B0
impl Send for B0
impl Sync for B0
impl Unpin for B0
impl UnwindSafe for B0
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more