Expand description
Convert themes defined in Rgb888 to any target PixelColor.
All preset themes are defined as Theme<'static, Rgb888> constants in
crate::theme. Users on a different color depth (typically Rgb565
for embedded touchscreens) call convert_theme to get a theme in
their target color.
Functionsยง
- convert_
theme - Convert a
Theme<'a, Rgb888>toTheme<'a, C>for anyC: From<Rgb888>.