#[repr(u8)]pub enum DataType {
Width32 = 0,
Width16 = 1,
Width8 = 2,
Width1 = 3,
}
Expand description
Input data width selection
Variants§
Width32 = 0
32-bit data, no data is swapped.
Width16 = 1
16-bit data, each half-word is swapped.
Width8 = 2
8-bit data, all bytes are swapped.
Width1 = 3
1-bit data, all bits are swapped.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for DataType
impl RefUnwindSafe for DataType
impl Send for DataType
impl Sync for DataType
impl Unpin for DataType
impl UnwindSafe for DataType
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)