Trait WritableSamples

pub trait WritableSamples<'slf>

Enable an image with this sample grid to be written to a file. Also can contain multiple resolution levels. Usually contained within Channels.

Associated Types

type Writer: SamplesWriter;

The type of the temporary writer for this sample storage

Required Methods

fn sample_type(&self) -> SampleType

Generate the file meta data regarding the number type of this storage

fn infer_level_modes(&self) -> (LevelMode, RoundingMode)

Generate the file meta data regarding resolution levels

fn create_samples_writer(&'slf self, header: &Header) -> Self::Writer

Create a temporary writer for this sample storage

Implementors