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