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§impl ReadSamples for ReadFlatSamples
impl ReadSamples for ReadFlatSamples
source§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
source§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
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
)