#[repr(u8)]pub enum CtrlTogDataFormat24Bit {
ALL_24_BITS_VALID = 0,
DROP_UPPER_2_BITS_PER_BYTE = 1,
}Variants§
ALL_24_BITS_VALID = 0
Data input to the block is in 24 bpp format, such that all RGB 888 data is contained in 24 bits.
DROP_UPPER_2_BITS_PER_BYTE = 1
Data input to the block is actually RGB 18 bpp, but there is 1 color per byte, hence the upper 2 bits in each byte do not contain any useful data, and should be dropped.
Implementations§
Trait Implementations§
Source§impl Clone for CtrlTogDataFormat24Bit
impl Clone for CtrlTogDataFormat24Bit
Source§fn clone(&self) -> CtrlTogDataFormat24Bit
fn clone(&self) -> CtrlTogDataFormat24Bit
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 CtrlTogDataFormat24Bit
impl Debug for CtrlTogDataFormat24Bit
Source§impl From<CtrlTogDataFormat24Bit> for u8
impl From<CtrlTogDataFormat24Bit> for u8
Source§fn from(val: CtrlTogDataFormat24Bit) -> u8
fn from(val: CtrlTogDataFormat24Bit) -> u8
Converts to this type from the input type.
Source§impl From<u8> for CtrlTogDataFormat24Bit
impl From<u8> for CtrlTogDataFormat24Bit
Source§fn from(val: u8) -> CtrlTogDataFormat24Bit
fn from(val: u8) -> CtrlTogDataFormat24Bit
Converts to this type from the input type.
Source§impl Ord for CtrlTogDataFormat24Bit
impl Ord for CtrlTogDataFormat24Bit
Source§fn cmp(&self, other: &CtrlTogDataFormat24Bit) -> Ordering
fn cmp(&self, other: &CtrlTogDataFormat24Bit) -> 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 CtrlTogDataFormat24Bit
impl PartialEq for CtrlTogDataFormat24Bit
Source§impl PartialOrd for CtrlTogDataFormat24Bit
impl PartialOrd for CtrlTogDataFormat24Bit
impl Copy for CtrlTogDataFormat24Bit
impl Eq for CtrlTogDataFormat24Bit
impl StructuralPartialEq for CtrlTogDataFormat24Bit
Auto Trait Implementations§
impl Freeze for CtrlTogDataFormat24Bit
impl RefUnwindSafe for CtrlTogDataFormat24Bit
impl Send for CtrlTogDataFormat24Bit
impl Sync for CtrlTogDataFormat24Bit
impl Unpin for CtrlTogDataFormat24Bit
impl UnwindSafe for CtrlTogDataFormat24Bit
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