pub struct AllLevelsReader<SamplesReader> {
levels: Levels<SamplesReader>,
}
Expand description
Processes pixel blocks from a file and accumulates them into multiple levels per channel.
Fields§
§levels: Levels<SamplesReader>
Trait Implementations§
source§impl<SamplesReader: Clone> Clone for AllLevelsReader<SamplesReader>
impl<SamplesReader: Clone> Clone for AllLevelsReader<SamplesReader>
source§fn clone(&self) -> AllLevelsReader<SamplesReader>
fn clone(&self) -> AllLevelsReader<SamplesReader>
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<SamplesReader: Debug> Debug for AllLevelsReader<SamplesReader>
impl<SamplesReader: Debug> Debug for AllLevelsReader<SamplesReader>
source§impl<SamplesReader: PartialEq> PartialEq for AllLevelsReader<SamplesReader>
impl<SamplesReader: PartialEq> PartialEq for AllLevelsReader<SamplesReader>
source§fn eq(&self, other: &AllLevelsReader<SamplesReader>) -> bool
fn eq(&self, other: &AllLevelsReader<SamplesReader>) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.source§impl<S: SamplesReader> SamplesReader for AllLevelsReader<S>
impl<S: SamplesReader> SamplesReader for AllLevelsReader<S>
source§fn filter_block(&self, _: TileCoordinates) -> bool
fn filter_block(&self, _: TileCoordinates) -> bool
Specify whether a single block of pixels should be loaded from the file
source§fn read_line(&mut self, line: LineRef<'_>) -> UnitResult
fn read_line(&mut self, line: LineRef<'_>) -> UnitResult
Load a single pixel line, which has not been filtered, into the reader, accumulating the sample data
source§fn into_samples(self) -> Self::Samples
fn into_samples(self) -> Self::Samples
Deliver the final accumulated sample storage for the image
impl<SamplesReader: Eq> Eq for AllLevelsReader<SamplesReader>
impl<SamplesReader> StructuralPartialEq for AllLevelsReader<SamplesReader>
Auto Trait Implementations§
impl<SamplesReader> Freeze for AllLevelsReader<SamplesReader>where
SamplesReader: Freeze,
impl<SamplesReader> RefUnwindSafe for AllLevelsReader<SamplesReader>where
SamplesReader: RefUnwindSafe,
impl<SamplesReader> Send for AllLevelsReader<SamplesReader>where
SamplesReader: Send,
impl<SamplesReader> Sync for AllLevelsReader<SamplesReader>where
SamplesReader: Sync,
impl<SamplesReader> Unpin for AllLevelsReader<SamplesReader>where
SamplesReader: Unpin,
impl<SamplesReader> UnwindSafe for AllLevelsReader<SamplesReader>where
SamplesReader: 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
)