pub trait WritableChannels<'slf> {
type Writer: ChannelsWriter;
// Required methods
fn infer_channel_list(&self) -> ChannelList;
fn infer_level_modes(&self) -> (LevelMode, RoundingMode);
fn create_writer(&'slf self, header: &Header) -> Self::Writer;
}
Expand description
Enables an image containing this list of channels to be written to a file.
Required Associated Types§
sourcetype Writer: ChannelsWriter
type Writer: ChannelsWriter
The type of temporary writer
Required Methods§
sourcefn infer_channel_list(&self) -> ChannelList
fn infer_channel_list(&self) -> ChannelList
Generate the file meta data for this list of channel
sourcefn infer_level_modes(&self) -> (LevelMode, RoundingMode)
fn infer_level_modes(&self) -> (LevelMode, RoundingMode)
Generate the file meta data of whether and how resolution levels should be stored in the file
sourcefn create_writer(&'slf self, header: &Header) -> Self::Writer
fn create_writer(&'slf self, header: &Header) -> Self::Writer
Create a temporary writer for this list of channels