pub trait WritableImage<'img, WritableLayers>: Sized {
    // Required method
    fn write(self) -> WriteImageWithOptions<'img, WritableLayers, fn(_: f64)>;
}
Expand description

Enables an image to be written to a file. Call image.write() where this trait is implemented.

Required Methods§

source

fn write(self) -> WriteImageWithOptions<'img, WritableLayers, fn(_: f64)>

Create a temporary writer which can be configured and used to write the image to a file.

Implementors§

source§

impl<'img, WritableLayers> WritableImage<'img, WritableLayers> for &'img Image<WritableLayers>