pub struct B0;
Expand description
The type-level bit 0.
Implementations
Trait Implementations
sourceimpl Ord for B0
impl Ord for B0
sourceimpl PartialOrd<B0> for B0
impl PartialOrd<B0> for B0
sourcepub fn partial_cmp(&self, other: &B0) -> Option<Ordering>
pub fn partial_cmp(&self, other: &B0) -> Option<Ordering>
This method returns an ordering between self
and other
values if one exists. Read more
1.0.0 · sourcefn lt(&self, other: &Rhs) -> bool
fn lt(&self, other: &Rhs) -> bool
This method tests less than (for self
and other
) and is used by the <
operator. Read more
1.0.0 · sourcefn 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 more
sourceimpl<U, B> Shl<B0> for UInt<U, B> where
U: Unsigned,
B: Bit,
impl<U, B> Shl<B0> for UInt<U, B> where
U: Unsigned,
B: Bit,
Shifting left any unsigned by a zero bit: U << B0 = U
sourceimpl<U, B> Shr<B0> for UInt<U, B> where
U: Unsigned,
B: Bit,
impl<U, B> Shr<B0> for UInt<U, B> where
U: Unsigned,
B: Bit,
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
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> CallHasher for T where
T: Hash + ?Sized,
impl<T> CallHasher for T where
T: Hash + ?Sized,
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcepub fn to_owned(&self) -> T
pub fn to_owned(&self) -> T
Creates owned data from borrowed data, usually by cloning. Read more
sourcepub fn clone_into(&self, target: &mut T)
pub fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more