Enum st7735_async_low::Colmod [−][src]
Color mode (the bit widths of the R, G and B components of a pixel).
The native format is 6-bit for each component. When another (smaller) mode is used, the LCD will internally translate each component into the 6-bit format with a lookup table. See Sec 9.18 “Color Depth Conversion Look Up Tables” of the ST7735S datasheet for the lookup table (LUT).
Variants
Each component has 4 bits. LUT will be used.
Red has 5 bits; green has 6 bits; blue has 5 bits. LUT will be used.
Each compoment has 6 bits. This is the native format; LUT will not be used.
No idea when this value can be used.
Trait Implementations
impl Clone for Colmod
[src]
fn clone(&self) -> Colmod
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Copy for Colmod
[src]
impl Debug for Colmod
[src]
impl Default for Colmod
[src]
impl Display for Colmod
[src]
impl From<u8> for Colmod
[src]
Auto Trait Implementations
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,