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