1 2 3 4 5 6 7 8 9 10 11 12 13
use embedded_graphics_core::pixelcolor::PixelColor; /// Represents the state of a pixel in the display #[derive(Clone, Copy, PartialEq, Debug)] pub enum Color { Black, White, Red, } impl PixelColor for Color { type Raw = (); }