Trait embedded_graphics::pixelcolor::GrayColor
source · pub trait GrayColor: PixelColor {
const BLACK: Self;
const WHITE: Self;
// Required method
fn luma(&self) -> u8;
}
Expand description
Grayscale color.
Required Associated Constants§
Required Methods§
Object Safety§
This trait is not object safe.