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<ReadAllLevels<DeepOrFlatSamples>> for ReadAllLevels<DeepOrFlatSamples>
impl<DeepOrFlatSamples: PartialEq> PartialEq<ReadAllLevels<DeepOrFlatSamples>> for ReadAllLevels<DeepOrFlatSamples>
source§fn eq(&self, other: &ReadAllLevels<DeepOrFlatSamples>) -> bool
fn eq(&self, other: &ReadAllLevels<DeepOrFlatSamples>) -> bool
This method 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>
§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