Struct exr::image::AnyChannels [−][src]
pub struct AnyChannels<Samples> {
pub list: SmallVec<[AnyChannel<Samples>; 4]>,
}Expand description
A dynamic list of arbitrary channels.
Samples can currently only be FlatSamples or Levels<FlatSamples>.
Fields
list: SmallVec<[AnyChannel<Samples>; 4]>This list must be sorted alphabetically, by channel name.
Use AnyChannels::sorted for automatic sorting.
Implementations
Trait Implementations
This method tests for self and other values to be equal, and is used
by ==. Read more
This method tests for !=.
fn validate_result(
&self,
other: &Self,
options: ValidationOptions,
location: String
) -> ValidationResult
fn validate_result(
&self,
other: &Self,
options: ValidationOptions,
location: String
) -> ValidationResult
Compare self with the other. Exceptional behaviour: Read more
Compare self with the other. Panics if not equal. Read more
impl<'samples, Samples> WritableChannels<'samples> for AnyChannels<Samples> where
Samples: 'samples + WritableSamples<'samples>,
impl<'samples, Samples> WritableChannels<'samples> for AnyChannels<Samples> where
Samples: 'samples + WritableSamples<'samples>,
Generate the file meta data for this list of channel
Generate the file meta data of whether and how resolution levels should be stored in the file
type Writer = AnyChannelsWriter<Samples::Writer>
type Writer = AnyChannelsWriter<Samples::Writer>
The type of temporary writer
Create a temporary writer for this list of channels
Auto Trait Implementations
impl<Samples> RefUnwindSafe for AnyChannels<Samples> where
Samples: RefUnwindSafe,
impl<Samples> Send for AnyChannels<Samples> where
Samples: Send,
impl<Samples> Sync for AnyChannels<Samples> where
Samples: Sync,
impl<Samples> Unpin for AnyChannels<Samples> where
Samples: Unpin,
impl<Samples> UnwindSafe for AnyChannels<Samples> where
Samples: UnwindSafe + RefUnwindSafe,
Blanket Implementations
Mutably borrows from an owned value. Read more