Struct exr::image::read::any_channels::AnyChannelReader
source · pub struct AnyChannelReader<SamplesReader> {
samples: SamplesReader,
name: Text,
sampling_rate: Vec2<usize>,
quantize_linearly: bool,
}
Expand description
Processes pixel blocks from a file and accumulates them into a single arbitrary channel.
Fields§
§samples: SamplesReader
The custom reader that accumulates the pixel data for a single channel
name: Text
Temporarily accumulated meta data.
sampling_rate: Vec2<usize>
Temporarily accumulated meta data.
quantize_linearly: bool
Temporarily accumulated meta data.
Trait Implementations§
source§impl<SamplesReader: Clone> Clone for AnyChannelReader<SamplesReader>
impl<SamplesReader: Clone> Clone for AnyChannelReader<SamplesReader>
source§fn clone(&self) -> AnyChannelReader<SamplesReader>
fn clone(&self) -> AnyChannelReader<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 AnyChannelReader<SamplesReader>
impl<SamplesReader: Debug> Debug for AnyChannelReader<SamplesReader>
source§impl<SamplesReader: PartialEq> PartialEq for AnyChannelReader<SamplesReader>
impl<SamplesReader: PartialEq> PartialEq for AnyChannelReader<SamplesReader>
source§fn eq(&self, other: &AnyChannelReader<SamplesReader>) -> bool
fn eq(&self, other: &AnyChannelReader<SamplesReader>) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl<SamplesReader: Eq> Eq for AnyChannelReader<SamplesReader>
impl<SamplesReader> StructuralPartialEq for AnyChannelReader<SamplesReader>
Auto Trait Implementations§
impl<SamplesReader> Freeze for AnyChannelReader<SamplesReader>where
SamplesReader: Freeze,
impl<SamplesReader> RefUnwindSafe for AnyChannelReader<SamplesReader>where
SamplesReader: RefUnwindSafe,
impl<SamplesReader> Send for AnyChannelReader<SamplesReader>where
SamplesReader: Send,
impl<SamplesReader> Sync for AnyChannelReader<SamplesReader>where
SamplesReader: Sync,
impl<SamplesReader> Unpin for AnyChannelReader<SamplesReader>where
SamplesReader: Unpin,
impl<SamplesReader> UnwindSafe for AnyChannelReader<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