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