mod image; pub use image::Image; mod pixelflut; pub use pixelflut::Pixelflut; mod pixel; use pixel::Pixel; use std::io::Write; use crate::vec3::Color; pub trait Display { fn add_sample(&mut self, x: usize, y: usize, color: Color); fn maybe_write(&self, output: &mut impl Write); fn maybe_update(&mut self); }