#[repr(u8)]pub enum CtrlSetInputDataSwizzle {
NO_SWAP = 0,
BIG_ENDIAN_SWAP = 1,
HWD_SWAP = 2,
HWD_BYTE_SWAP = 3,
}Variants§
NO_SWAP = 0
No byte swapping.(Little endian)
BIG_ENDIAN_SWAP = 1
Big Endian swap (swap bytes 0,3 and 1,2).
HWD_SWAP = 2
Swap half-words.
HWD_BYTE_SWAP = 3
Swap bytes within each half-word.
Implementations§
Trait Implementations§
Source§impl Clone for CtrlSetInputDataSwizzle
impl Clone for CtrlSetInputDataSwizzle
Source§fn clone(&self) -> CtrlSetInputDataSwizzle
fn clone(&self) -> CtrlSetInputDataSwizzle
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 CtrlSetInputDataSwizzle
impl Debug for CtrlSetInputDataSwizzle
Source§impl From<CtrlSetInputDataSwizzle> for u8
impl From<CtrlSetInputDataSwizzle> for u8
Source§fn from(val: CtrlSetInputDataSwizzle) -> u8
fn from(val: CtrlSetInputDataSwizzle) -> u8
Converts to this type from the input type.
Source§impl From<u8> for CtrlSetInputDataSwizzle
impl From<u8> for CtrlSetInputDataSwizzle
Source§fn from(val: u8) -> CtrlSetInputDataSwizzle
fn from(val: u8) -> CtrlSetInputDataSwizzle
Converts to this type from the input type.
Source§impl Ord for CtrlSetInputDataSwizzle
impl Ord for CtrlSetInputDataSwizzle
Source§fn cmp(&self, other: &CtrlSetInputDataSwizzle) -> Ordering
fn cmp(&self, other: &CtrlSetInputDataSwizzle) -> 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 CtrlSetInputDataSwizzle
impl PartialEq for CtrlSetInputDataSwizzle
Source§impl PartialOrd for CtrlSetInputDataSwizzle
impl PartialOrd for CtrlSetInputDataSwizzle
impl Copy for CtrlSetInputDataSwizzle
impl Eq for CtrlSetInputDataSwizzle
impl StructuralPartialEq for CtrlSetInputDataSwizzle
Auto Trait Implementations§
impl Freeze for CtrlSetInputDataSwizzle
impl RefUnwindSafe for CtrlSetInputDataSwizzle
impl Send for CtrlSetInputDataSwizzle
impl Sync for CtrlSetInputDataSwizzle
impl Unpin for CtrlSetInputDataSwizzle
impl UnwindSafe for CtrlSetInputDataSwizzle
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