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