Trait exr::image::write::WritableImage

source ·
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.

Object Safety§

This trait is not object safe.

Implementors§

source§

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