Trait WritableLevel

pub trait WritableLevel<'slf>

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

Associated Types

type Writer: SamplesWriter;

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

Required Methods

fn sample_type(&self) -> SampleType

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

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

Create a temporary writer for this single level of samples

Implementors