pub trait DrawTarget { // Required methods fn size(&self) -> (usize, usize); fn draw_pixel(&mut self, x: usize, y: usize, color: Rgb); }