Trait exr::image::write::samples::WritableLevel[][src]

pub trait WritableLevel<'slf> {
    type Writer: SamplesWriter;
    fn sample_type(&self) -> SampleType;
fn create_level_writer(&'slf self, size: Vec2<usize>) -> Self::Writer; }
Expand description

Enable an image with this single level sample grid to be written to a file. Only contained within Levels.

Associated Types

type Writer: SamplesWriter[src]

The type of the temporary writer for this single level of samples

Required methods

fn sample_type(&self) -> SampleType[src]

Generate the file meta data regarding the number type of these samples

fn create_level_writer(&'slf self, size: Vec2<usize>) -> Self::Writer[src]

Create a temporary writer for this single level of samples

Implementors

impl<'samples> WritableLevel<'samples> for FlatSamples[src]

fn sample_type(&self) -> SampleType[src]

type Writer = FlatSamplesWriter<'samples>

fn create_level_writer(&'samples self, size: Vec2<usize>) -> Self::Writer[src]