Trait exr::image::write::channels::WritableChannels[][src]

pub trait WritableChannels<'slf> {
    type Writer: ChannelsWriter;
    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.

Associated Types

type Writer: ChannelsWriter[src]

The type of temporary writer

Required methods

fn infer_channel_list(&self) -> ChannelList[src]

Generate the file meta data for this list of channel

fn infer_level_modes(&self) -> (LevelMode, RoundingMode)[src]

Generate the file meta data of whether and how resolution levels should be stored in the file

fn create_writer(&'slf self, header: &Header) -> Self::Writer[src]

Create a temporary writer for this list of channels

Implementors

impl<'c, Channels, Storage> WritableChannels<'c> for SpecificChannels<Storage, Channels> where
    Storage: 'c + GetPixel,
    Storage::Pixel: IntoRecursive,
    Channels: 'c + Sync + Clone + IntoRecursive,
    <Channels as IntoRecursive>::Recursive: WritableChannelsDescription<<Storage::Pixel as IntoRecursive>::Recursive>, 
[src]

impl<'samples, Samples> WritableChannels<'samples> for AnyChannels<Samples> where
    Samples: 'samples + WritableSamples<'samples>, 
[src]

impl<'slf, Channels: 'slf> WritableChannels<'slf> for CroppedChannels<Channels> where
    Channels: WritableChannels<'slf>, 
[src]