[][src]Function nanachi::writer::image_writer

pub fn image_writer<'a, P, B, F, C>(
    buffer: &'a mut B,
    fill_color: &'a F,
    compositor: &'a C
) -> impl FnMut(u32, u32, f64) + 'a where
    P: Pixel,
    B: Buffer<P>,
    F: FillColor<P>,
    C: Compositor<P> + 'static, 

Create a writer that writes the pixel to the buffer.