pub trait WritableLevel<'slf> {
type Writer: SamplesWriter;
// Required methods
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
.
Required Associated Types§
sourcetype Writer: SamplesWriter
type Writer: SamplesWriter
The type of the temporary writer for this single level of samples
Required Methods§
sourcefn sample_type(&self) -> SampleType
fn sample_type(&self) -> SampleType
Generate the file meta data regarding the number type of these samples
sourcefn create_level_writer(&'slf self, size: Vec2<usize>) -> Self::Writer
fn create_level_writer(&'slf self, size: Vec2<usize>) -> Self::Writer
Create a temporary writer for this single level of samples