pub struct ReadFlatSamples;
Expand description
Specify to read only flat samples and no “deep data”
Implementations§
source§impl ReadFlatSamples
impl ReadFlatSamples
sourcepub fn largest_resolution_level(self) -> ReadLargestLevel<Self>
pub fn largest_resolution_level(self) -> ReadLargestLevel<Self>
Specify to read only the highest resolution level, skipping all smaller variations.
sourcepub fn all_resolution_levels(self) -> ReadAllLevels<Self>
pub fn all_resolution_levels(self) -> ReadAllLevels<Self>
Specify to read all contained resolution levels from the image, if any.
Trait Implementations§
source§impl Clone for ReadFlatSamples
impl Clone for ReadFlatSamples
source§fn clone(&self) -> ReadFlatSamples
fn clone(&self) -> ReadFlatSamples
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 Debug for ReadFlatSamples
impl Debug for ReadFlatSamples
source§impl PartialEq for ReadFlatSamples
impl PartialEq for ReadFlatSamples
source§fn eq(&self, other: &ReadFlatSamples) -> bool
fn eq(&self, other: &ReadFlatSamples) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl ReadSamples for ReadFlatSamples
impl ReadSamples for ReadFlatSamples
§type Reader = FlatSamplesReader
type Reader = FlatSamplesReader
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
source§impl ReadSamplesLevel for ReadFlatSamples
impl ReadSamplesLevel for ReadFlatSamples
§type Reader = FlatSamplesReader
type Reader = FlatSamplesReader
The type of the temporary level reader
impl Copy for ReadFlatSamples
impl Eq for ReadFlatSamples
impl StructuralPartialEq for ReadFlatSamples
Auto Trait Implementations§
impl Freeze for ReadFlatSamples
impl RefUnwindSafe for ReadFlatSamples
impl Send for ReadFlatSamples
impl Sync for ReadFlatSamples
impl Unpin for ReadFlatSamples
impl UnwindSafe for ReadFlatSamples
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