pub struct AllLevelsReader<SamplesReader> { /* private fields */ }
Expand description
Processes pixel blocks from a file and accumulates them into multiple levels per channel.
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<AllLevelsReader<SamplesReader>> for AllLevelsReader<SamplesReader>
impl<SamplesReader: PartialEq> PartialEq<AllLevelsReader<SamplesReader>> for AllLevelsReader<SamplesReader>
source§fn 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 ==
.source§impl<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
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