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