Struct exr::image::read::any_channels::AnyChannelsReader
source · pub struct AnyChannelsReader<SamplesReader> { /* private fields */ }
Expand description
Processes pixel blocks from a file and accumulates them into a collection of arbitrary channels. Loads all channels for each layer.
Trait Implementations§
source§impl<S: SamplesReader> ChannelsReader for AnyChannelsReader<S>
impl<S: SamplesReader> ChannelsReader for AnyChannelsReader<S>
§type Channels = AnyChannels<<S as SamplesReader>::Samples>
type Channels = AnyChannels<<S as SamplesReader>::Samples>
The type of the resulting channel collection
source§fn filter_block(&self, tile: TileCoordinates) -> bool
fn filter_block(&self, tile: TileCoordinates) -> bool
Specify whether a single block of pixels should be loaded from the file
source§fn read_block(
&mut self,
header: &Header,
decompressed: UncompressedBlock
) -> UnitResult
fn read_block( &mut self, header: &Header, decompressed: UncompressedBlock ) -> UnitResult
Load a single pixel block, which has not been filtered, into the reader, accumulating the channel data
source§fn into_channels(self) -> Self::Channels
fn into_channels(self) -> Self::Channels
Deliver the final accumulated channel collection for the image
source§impl<SamplesReader: Clone> Clone for AnyChannelsReader<SamplesReader>
impl<SamplesReader: Clone> Clone for AnyChannelsReader<SamplesReader>
source§fn clone(&self) -> AnyChannelsReader<SamplesReader>
fn clone(&self) -> AnyChannelsReader<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 AnyChannelsReader<SamplesReader>
impl<SamplesReader: Debug> Debug for AnyChannelsReader<SamplesReader>
source§impl<SamplesReader: PartialEq> PartialEq<AnyChannelsReader<SamplesReader>> for AnyChannelsReader<SamplesReader>
impl<SamplesReader: PartialEq> PartialEq<AnyChannelsReader<SamplesReader>> for AnyChannelsReader<SamplesReader>
source§fn eq(&self, other: &AnyChannelsReader<SamplesReader>) -> bool
fn eq(&self, other: &AnyChannelsReader<SamplesReader>) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.