pub enum BitDirection {
LsbFirst,
MsbFirst,
}
Expand description
BitDirection determines in which order the bits will be shifted in/out on a serial interface.
Variants§
Trait Implementations§
Source§impl Clone for BitDirection
impl Clone for BitDirection
Source§fn clone(&self) -> BitDirection
fn clone(&self) -> BitDirection
Returns a copy 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 BitDirection
impl Debug for BitDirection
impl Copy for BitDirection
Auto Trait Implementations§
impl Freeze for BitDirection
impl RefUnwindSafe for BitDirection
impl Send for BitDirection
impl Sync for BitDirection
impl Unpin for BitDirection
impl UnwindSafe for BitDirection
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