Trait RecursivePixelWriter

pub trait RecursivePixelWriter<Pixel>: Sync

Write pixels to a slice of bytes. The top level writer contains all the other channels, the most inner channel is NoneMore.

Required Methods

fn write_pixels<FullPixel>(&self, bytes: &mut [u8], pixels: &[FullPixel], get_pixel: impl Fn(&FullPixel) -> &Pixel)

Write pixels to a slice of bytes. Recursively do this for all channels.

Implementors