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: ReadChannels
The 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 for ReadAllLayers<ReadChannels>
impl<ReadChannels: PartialEq> PartialEq for ReadAllLayers<ReadChannels>
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>,
source§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
source§type Reader = AllLayersReader<<C as ReadChannels<'s>>::Reader>
type Reader = AllLayersReader<<C as ReadChannels<'s>>::Reader>
The type of the temporary layer reader
impl<ReadChannels: Eq> Eq for ReadAllLayers<ReadChannels>
impl<ReadChannels> StructuralPartialEq for ReadAllLayers<ReadChannels>
Auto Trait Implementations§
impl<ReadChannels> Freeze for ReadAllLayers<ReadChannels>where
ReadChannels: Freeze,
impl<ReadChannels> RefUnwindSafe for ReadAllLayers<ReadChannels>where
ReadChannels: RefUnwindSafe,
impl<ReadChannels> Send for ReadAllLayers<ReadChannels>where
ReadChannels: Send,
impl<ReadChannels> Sync for ReadAllLayers<ReadChannels>where
ReadChannels: Sync,
impl<ReadChannels> Unpin for ReadAllLayers<ReadChannels>where
ReadChannels: Unpin,
impl<ReadChannels> UnwindSafe for ReadAllLayers<ReadChannels>where
ReadChannels: UnwindSafe,
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)