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