#[repr(u8)]pub enum CtrlSetDataShiftDir {
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 CtrlSetDataShiftDir
impl Clone for CtrlSetDataShiftDir
Source§fn clone(&self) -> CtrlSetDataShiftDir
fn clone(&self) -> CtrlSetDataShiftDir
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 CtrlSetDataShiftDir
impl Debug for CtrlSetDataShiftDir
Source§impl From<CtrlSetDataShiftDir> for u8
impl From<CtrlSetDataShiftDir> for u8
Source§fn from(val: CtrlSetDataShiftDir) -> u8
fn from(val: CtrlSetDataShiftDir) -> u8
Converts to this type from the input type.
Source§impl From<u8> for CtrlSetDataShiftDir
impl From<u8> for CtrlSetDataShiftDir
Source§fn from(val: u8) -> CtrlSetDataShiftDir
fn from(val: u8) -> CtrlSetDataShiftDir
Converts to this type from the input type.
Source§impl Ord for CtrlSetDataShiftDir
impl Ord for CtrlSetDataShiftDir
Source§fn cmp(&self, other: &CtrlSetDataShiftDir) -> Ordering
fn cmp(&self, other: &CtrlSetDataShiftDir) -> 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 CtrlSetDataShiftDir
impl PartialEq for CtrlSetDataShiftDir
Source§impl PartialOrd for CtrlSetDataShiftDir
impl PartialOrd for CtrlSetDataShiftDir
impl Copy for CtrlSetDataShiftDir
impl Eq for CtrlSetDataShiftDir
impl StructuralPartialEq for CtrlSetDataShiftDir
Auto Trait Implementations§
impl Freeze for CtrlSetDataShiftDir
impl RefUnwindSafe for CtrlSetDataShiftDir
impl Send for CtrlSetDataShiftDir
impl Sync for CtrlSetDataShiftDir
impl Unpin for CtrlSetDataShiftDir
impl UnwindSafe for CtrlSetDataShiftDir
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