#[repr(u8)]pub enum CtrlDataShiftDir {
TXDATA_SHIFT_LEFT = 0,
TXDATA_SHIFT_RIGHT = 1,
}Variants§
TXDATA_SHIFT_LEFT = 0
Data to be transmitted is shifted LEFT by SHIFT_NUM_BITS bits.
TXDATA_SHIFT_RIGHT = 1
Data to be transmitted is shifted RIGHT by SHIFT_NUM_BITS bits.
Implementations§
Trait Implementations§
Source§impl Clone for CtrlDataShiftDir
impl Clone for CtrlDataShiftDir
Source§fn clone(&self) -> CtrlDataShiftDir
fn clone(&self) -> CtrlDataShiftDir
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 CtrlDataShiftDir
impl Debug for CtrlDataShiftDir
Source§impl From<CtrlDataShiftDir> for u8
impl From<CtrlDataShiftDir> for u8
Source§fn from(val: CtrlDataShiftDir) -> u8
fn from(val: CtrlDataShiftDir) -> u8
Converts to this type from the input type.
Source§impl From<u8> for CtrlDataShiftDir
impl From<u8> for CtrlDataShiftDir
Source§fn from(val: u8) -> CtrlDataShiftDir
fn from(val: u8) -> CtrlDataShiftDir
Converts to this type from the input type.
Source§impl Ord for CtrlDataShiftDir
impl Ord for CtrlDataShiftDir
Source§fn cmp(&self, other: &CtrlDataShiftDir) -> Ordering
fn cmp(&self, other: &CtrlDataShiftDir) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for CtrlDataShiftDir
impl PartialEq for CtrlDataShiftDir
Source§impl PartialOrd for CtrlDataShiftDir
impl PartialOrd for CtrlDataShiftDir
impl Copy for CtrlDataShiftDir
impl Eq for CtrlDataShiftDir
impl StructuralPartialEq for CtrlDataShiftDir
Auto Trait Implementations§
impl Freeze for CtrlDataShiftDir
impl RefUnwindSafe for CtrlDataShiftDir
impl Send for CtrlDataShiftDir
impl Sync for CtrlDataShiftDir
impl Unpin for CtrlDataShiftDir
impl UnwindSafe for CtrlDataShiftDir
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