pub trait ImageAdapter<T>: Send { fn fill_buffer(&mut self, data: &[Grid<T>], buffer: &mut [u8]); }
Converts grids of different element types to RGB grids