pub struct AllLevelsReader<SamplesReader> { /* private fields */ }
Expand description
Processes pixel blocks from a file and accumulates them into multiple levels per channel.
Trait Implementations
sourceimpl<SamplesReader: Clone> Clone for AllLevelsReader<SamplesReader>
impl<SamplesReader: Clone> Clone for AllLevelsReader<SamplesReader>
sourcefn clone(&self) -> AllLevelsReader<SamplesReader>
fn clone(&self) -> AllLevelsReader<SamplesReader>
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl<SamplesReader: Debug> Debug for AllLevelsReader<SamplesReader>
impl<SamplesReader: Debug> Debug for AllLevelsReader<SamplesReader>
sourceimpl<SamplesReader: PartialEq> PartialEq<AllLevelsReader<SamplesReader>> for AllLevelsReader<SamplesReader>
impl<SamplesReader: PartialEq> PartialEq<AllLevelsReader<SamplesReader>> for AllLevelsReader<SamplesReader>
sourcefn eq(&self, other: &AllLevelsReader<SamplesReader>) -> bool
fn eq(&self, other: &AllLevelsReader<SamplesReader>) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &AllLevelsReader<SamplesReader>) -> bool
fn ne(&self, other: &AllLevelsReader<SamplesReader>) -> bool
This method tests for !=
.
sourceimpl<S: SamplesReader> SamplesReader for AllLevelsReader<S>
impl<S: SamplesReader> SamplesReader for AllLevelsReader<S>
type Samples = Levels<<S as SamplesReader>::Samples>
type Samples = Levels<<S as SamplesReader>::Samples>
The type of resulting sample storage
sourcefn filter_block(&self, _: TileCoordinates) -> bool
fn filter_block(&self, _: TileCoordinates) -> bool
Specify whether a single block of pixels should be loaded from the file
sourcefn 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
sourcefn 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> StructuralEq for AllLevelsReader<SamplesReader>
impl<SamplesReader> StructuralPartialEq for AllLevelsReader<SamplesReader>
Auto Trait Implementations
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
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more