Struct ReadOptionalChannel
pub struct ReadOptionalChannel<ReadChannels, Sample> { /* private fields */ }
Used to read another specific channel from an image.
Contains the previous ReadChannels objects.
Trait Implementations
impl<DefaultSample, ReadChannels> ReadSpecificChannel for ReadOptionalChannel<ReadChannels, DefaultSample>
where
ReadChannels: ReadSpecificChannel,
DefaultSample: FromNativeSample + 'static,
type RecursivePixelReader = Recursive<<ReadChannels as ReadSpecificChannel>::RecursivePixelReader, OptionalSampleReader<DefaultSample>>;fn create_recursive_reader(&self, channels: &ChannelList) -> Result<Self::RecursivePixelReader>
impl<Inner: CheckDuplicates, Sample> CheckDuplicates for ReadOptionalChannel<Inner, Sample>
fn already_contains(&self, name: &Text) -> bool
impl<ReadChannels: Clone, Sample: Clone> Clone for ReadOptionalChannel<ReadChannels, Sample>
fn clone(&self) -> Self
impl<ReadChannels: Debug, Sample: Debug> Debug for ReadOptionalChannel<ReadChannels, Sample>
fn fmt(&self, f: &mut Formatter<'_>) -> Result