#[repr(u8)]pub enum CtrlSetWordLength {
_16_BIT = 0,
_8_BIT = 1,
_18_BIT = 2,
_24_BIT = 3,
}Variants§
_16_BIT = 0
Input data is 16 bits per pixel.
_8_BIT = 1
Input data is 8 bits wide.
_18_BIT = 2
Input data is 18 bits per pixel.
_24_BIT = 3
Input data is 24 bits per pixel.
Implementations§
Trait Implementations§
Source§impl Clone for CtrlSetWordLength
impl Clone for CtrlSetWordLength
Source§fn clone(&self) -> CtrlSetWordLength
fn clone(&self) -> CtrlSetWordLength
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 CtrlSetWordLength
impl Debug for CtrlSetWordLength
Source§impl From<CtrlSetWordLength> for u8
impl From<CtrlSetWordLength> for u8
Source§fn from(val: CtrlSetWordLength) -> u8
fn from(val: CtrlSetWordLength) -> u8
Converts to this type from the input type.
Source§impl From<u8> for CtrlSetWordLength
impl From<u8> for CtrlSetWordLength
Source§fn from(val: u8) -> CtrlSetWordLength
fn from(val: u8) -> CtrlSetWordLength
Converts to this type from the input type.
Source§impl Ord for CtrlSetWordLength
impl Ord for CtrlSetWordLength
Source§fn cmp(&self, other: &CtrlSetWordLength) -> Ordering
fn cmp(&self, other: &CtrlSetWordLength) -> 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 CtrlSetWordLength
impl PartialEq for CtrlSetWordLength
Source§impl PartialOrd for CtrlSetWordLength
impl PartialOrd for CtrlSetWordLength
impl Copy for CtrlSetWordLength
impl Eq for CtrlSetWordLength
impl StructuralPartialEq for CtrlSetWordLength
Auto Trait Implementations§
impl Freeze for CtrlSetWordLength
impl RefUnwindSafe for CtrlSetWordLength
impl Send for CtrlSetWordLength
impl Sync for CtrlSetWordLength
impl Unpin for CtrlSetWordLength
impl UnwindSafe for CtrlSetWordLength
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