#[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