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