pub struct Bits {
pub data: u16,
pub len: u8,
}
Fields§
§data: u16
§len: u8
Trait Implementations§
source§impl Ord for Bits
impl Ord for Bits
source§impl PartialEq for Bits
impl PartialEq for Bits
source§impl PartialOrd for Bits
impl PartialOrd for Bits
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 moreimpl Copy for Bits
impl Eq for Bits
impl StructuralPartialEq for Bits
Auto Trait Implementations§
impl Freeze for Bits
impl RefUnwindSafe for Bits
impl Send for Bits
impl Sync for Bits
impl Unpin for Bits
impl UnwindSafe for Bits
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