#[repr(u8)]
pub enum PIXEL1FORMAT_A {
RGB555,
RGB565,
RGB666,
RGB888,
}
Expand description
Source and Destination Pixel Color Format
Value on reset: 0
Variants§
RGB555
0: RGB data is 555
RGB565
1: RGB data is 565
RGB666
2: RGB data is 666
RGB888
3: RGB data is 888
Trait Implementations§
source§impl Clone for PIXEL1FORMAT_A
impl Clone for PIXEL1FORMAT_A
source§fn clone(&self) -> PIXEL1FORMAT_A
fn clone(&self) -> PIXEL1FORMAT_A
Returns a copy 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 PIXEL1FORMAT_A
impl Debug for PIXEL1FORMAT_A
source§impl From<PIXEL1FORMAT_A> for u8
impl From<PIXEL1FORMAT_A> for u8
source§fn from(variant: PIXEL1FORMAT_A) -> Self
fn from(variant: PIXEL1FORMAT_A) -> Self
Converts to this type from the input type.
source§impl PartialEq<PIXEL1FORMAT_A> for PIXEL1FORMAT_A
impl PartialEq<PIXEL1FORMAT_A> for PIXEL1FORMAT_A
source§fn eq(&self, other: &PIXEL1FORMAT_A) -> bool
fn eq(&self, other: &PIXEL1FORMAT_A) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.