use embedded_graphics::{ pixelcolor::{BinaryColor, PixelColor}, prelude::*, primitives::{Circle, Rectangle}, }; use embedded_layout::prelude::*; pub struct BulletCounter { pub top_left: Point, pub size: Size, // Available space pub color: C, } impl Drawable for BulletCounter where C: PixelColor + From, { type Color = C; type Output = (); fn draw(&self, target: &mut D) -> Result where D: DrawTarget, { Ok(()) } }