pub struct ReadAllLayers<ReadChannels> {
pub read_channels: ReadChannels,
}Expand description
Specify to read all channels, aborting if any one is invalid.
[ReadRgbaChannels] or [ReadAnyChannels<ReadFlatSamples>].
Fields§
§read_channels: ReadChannelsThe channel reading specification
Trait Implementations§
source§impl<ReadChannels: Clone> Clone for ReadAllLayers<ReadChannels>
impl<ReadChannels: Clone> Clone for ReadAllLayers<ReadChannels>
source§fn clone(&self) -> ReadAllLayers<ReadChannels>
fn clone(&self) -> ReadAllLayers<ReadChannels>
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresource§impl<ReadChannels: Debug> Debug for ReadAllLayers<ReadChannels>
impl<ReadChannels: Debug> Debug for ReadAllLayers<ReadChannels>
source§impl<ReadChannels: PartialEq> PartialEq<ReadAllLayers<ReadChannels>> for ReadAllLayers<ReadChannels>
impl<ReadChannels: PartialEq> PartialEq<ReadAllLayers<ReadChannels>> for ReadAllLayers<ReadChannels>
source§fn eq(&self, other: &ReadAllLayers<ReadChannels>) -> bool
fn eq(&self, other: &ReadAllLayers<ReadChannels>) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl<'s, C> ReadLayers<'s> for ReadAllLayers<C>where
C: ReadChannels<'s>,
impl<'s, C> ReadLayers<'s> for ReadAllLayers<C>where C: ReadChannels<'s>,
§type Layers = SmallVec<[Layer<<<C as ReadChannels<'s>>::Reader as ChannelsReader>::Channels>; 2]>
type Layers = SmallVec<[Layer<<<C as ReadChannels<'s>>::Reader as ChannelsReader>::Channels>; 2]>
The type of the resulting Layers
§type Reader = AllLayersReader<<C as ReadChannels<'s>>::Reader>
type Reader = AllLayersReader<<C as ReadChannels<'s>>::Reader>
The type of the temporary layer reader