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