pub enum OrderFormat {
Lsb0,
Msb0,
}
Expand description
This is a runtime representation of the order that bits will be written
to the specified BitsStoreFormat
.
BitsOrderFormat::Lsb0
means that we write to the least significant bit first and then work our way up to the most significant bit as we push new bits.BitsOrderFormat::Msb0
means that we write to the most significant bit first and then work our way down to the least significant bit as we push new bits.
These are equivalent to bitvec
’s order::Lsb0
and order::Msb0
.
Variants§
Trait Implementations§
Source§impl Clone for BitsOrderFormat
impl Clone for BitsOrderFormat
Source§fn clone(&self) -> BitsOrderFormat
fn clone(&self) -> BitsOrderFormat
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for BitsOrderFormat
impl Debug for BitsOrderFormat
Source§impl PartialEq for BitsOrderFormat
impl PartialEq for BitsOrderFormat
impl Copy for BitsOrderFormat
impl Eq for BitsOrderFormat
impl StructuralPartialEq for BitsOrderFormat
Auto Trait Implementations§
impl Freeze for BitsOrderFormat
impl RefUnwindSafe for BitsOrderFormat
impl Send for BitsOrderFormat
impl Sync for BitsOrderFormat
impl Unpin for BitsOrderFormat
impl UnwindSafe for BitsOrderFormat
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