Trait embedded_graphics::pixelcolor::GrayColor
source · [−]pub trait GrayColor: PixelColor {
const BLACK: Self;
const WHITE: Self;
fn luma(&self) -> u8;
}
Expand description
Grayscale color.
pub trait GrayColor: PixelColor {
const BLACK: Self;
const WHITE: Self;
fn luma(&self) -> u8;
}
Grayscale color.