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) -> SampleTypeGenerate 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::WriterCreate a temporary writer for this sample storage
Implementors
impl<'samples> WritableSamples<'samples> for FlatSamplesimpl<'samples, LevelSamples> WritableSamples<'samples> for Levels<LevelSamples> where LevelSamples: WritableLevel<'samples>,