Struct exr::image::read::specific_channels::SpecificChannelsReader
source · pub struct SpecificChannelsReader<PixelStorage, SetPixel, PixelReader, Pixel> { /* private fields */ }
Expand description
The reader that holds the temporary data that is required to read some specified channels.
Trait Implementations§
source§impl<PixelStorage, SetPixel, PxReader, Pixel> ChannelsReader for SpecificChannelsReader<PixelStorage, SetPixel, PxReader, Pixel>where
PxReader: RecursivePixelReader,
PxReader::RecursivePixel: IntoTuple<Pixel>,
PxReader::RecursiveChannelDescriptions: IntoNonRecursive,
SetPixel: Fn(&mut PixelStorage, Vec2<usize>, Pixel),
impl<PixelStorage, SetPixel, PxReader, Pixel> ChannelsReader for SpecificChannelsReader<PixelStorage, SetPixel, PxReader, Pixel>where PxReader: RecursivePixelReader, PxReader::RecursivePixel: IntoTuple<Pixel>, PxReader::RecursiveChannelDescriptions: IntoNonRecursive, SetPixel: Fn(&mut PixelStorage, Vec2<usize>, Pixel),
§type Channels = SpecificChannels<PixelStorage, <<PxReader as RecursivePixelReader>::RecursiveChannelDescriptions as IntoNonRecursive>::NonRecursive>
type Channels = SpecificChannels<PixelStorage, <<PxReader as RecursivePixelReader>::RecursiveChannelDescriptions as IntoNonRecursive>::NonRecursive>
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, block: UncompressedBlock) -> UnitResult
fn read_block(&mut self, header: &Header, block: 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<PixelStorage: Clone, SetPixel: Clone, PixelReader: Clone, Pixel: Clone> Clone for SpecificChannelsReader<PixelStorage, SetPixel, PixelReader, Pixel>
impl<PixelStorage: Clone, SetPixel: Clone, PixelReader: Clone, Pixel: Clone> Clone for SpecificChannelsReader<PixelStorage, SetPixel, PixelReader, Pixel>
source§fn clone(
&self
) -> SpecificChannelsReader<PixelStorage, SetPixel, PixelReader, Pixel>
fn clone( &self ) -> SpecificChannelsReader<PixelStorage, SetPixel, PixelReader, Pixel>
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 more