pub enum BitOrder {
MsbFirst,
LsbFirst,
}Expand description
Order in which the bits of a word are shifted onto the wire.
Both ends of the link must agree, or every word arrives bit-reversed with no error reported. Most devices are MSB-first, which is the default.
Variants§
Trait Implementations§
impl Copy for BitOrder
impl Eq for BitOrder
impl StructuralPartialEq for BitOrder
Auto Trait Implementations§
impl Freeze for BitOrder
impl RefUnwindSafe for BitOrder
impl Send for BitOrder
impl Sync for BitOrder
impl Unpin for BitOrder
impl UnsafeUnpin for BitOrder
impl UnwindSafe for BitOrder
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