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