pub struct ReadAllLevels<DeepOrFlatSamples> {
pub read_samples: DeepOrFlatSamples,
}
Expand description
Specify to read all contained resolution levels from the image, if any.
Fields§
§read_samples: DeepOrFlatSamples
The sample reading specification
Implementations§
source§impl<ReadDeepOrFlatSamples> ReadAllLevels<ReadDeepOrFlatSamples>
impl<ReadDeepOrFlatSamples> ReadAllLevels<ReadDeepOrFlatSamples>
sourcepub fn all_channels(self) -> ReadAnyChannels<Self>
pub fn all_channels(self) -> ReadAnyChannels<Self>
Read all arbitrary channels in each layer.
Trait Implementations§
source§impl<DeepOrFlatSamples: Clone> Clone for ReadAllLevels<DeepOrFlatSamples>
impl<DeepOrFlatSamples: Clone> Clone for ReadAllLevels<DeepOrFlatSamples>
source§fn clone(&self) -> ReadAllLevels<DeepOrFlatSamples>
fn clone(&self) -> ReadAllLevels<DeepOrFlatSamples>
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<DeepOrFlatSamples: Debug> Debug for ReadAllLevels<DeepOrFlatSamples>
impl<DeepOrFlatSamples: Debug> Debug for ReadAllLevels<DeepOrFlatSamples>
source§impl<DeepOrFlatSamples: PartialEq> PartialEq for ReadAllLevels<DeepOrFlatSamples>
impl<DeepOrFlatSamples: PartialEq> PartialEq for ReadAllLevels<DeepOrFlatSamples>
source§fn eq(&self, other: &ReadAllLevels<DeepOrFlatSamples>) -> bool
fn eq(&self, other: &ReadAllLevels<DeepOrFlatSamples>) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.source§impl<S: ReadSamplesLevel> ReadSamples for ReadAllLevels<S>
impl<S: ReadSamplesLevel> ReadSamples for ReadAllLevels<S>
source§type Reader = AllLevelsReader<<S as ReadSamplesLevel>::Reader>
type Reader = AllLevelsReader<<S as ReadSamplesLevel>::Reader>
The type of the temporary samples reader
source§fn create_sample_reader(
&self,
header: &Header,
channel: &ChannelDescription,
) -> Result<Self::Reader>
fn create_sample_reader( &self, header: &Header, channel: &ChannelDescription, ) -> Result<Self::Reader>
Create a single reader for a single channel of a layer
impl<DeepOrFlatSamples: Eq> Eq for ReadAllLevels<DeepOrFlatSamples>
impl<DeepOrFlatSamples> StructuralPartialEq for ReadAllLevels<DeepOrFlatSamples>
Auto Trait Implementations§
impl<DeepOrFlatSamples> Freeze for ReadAllLevels<DeepOrFlatSamples>where
DeepOrFlatSamples: Freeze,
impl<DeepOrFlatSamples> RefUnwindSafe for ReadAllLevels<DeepOrFlatSamples>where
DeepOrFlatSamples: RefUnwindSafe,
impl<DeepOrFlatSamples> Send for ReadAllLevels<DeepOrFlatSamples>where
DeepOrFlatSamples: Send,
impl<DeepOrFlatSamples> Sync for ReadAllLevels<DeepOrFlatSamples>where
DeepOrFlatSamples: Sync,
impl<DeepOrFlatSamples> Unpin for ReadAllLevels<DeepOrFlatSamples>where
DeepOrFlatSamples: Unpin,
impl<DeepOrFlatSamples> UnwindSafe for ReadAllLevels<DeepOrFlatSamples>where
DeepOrFlatSamples: 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
)