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