Struct exr::image::read::specific_channels::OptionalSampleReader
source · pub struct OptionalSampleReader<DefaultSample> { /* private fields */ }
Expand description
Reader for a single channel. Generic over the concrete sample type (f16, f32, u32). Can also skip reading a channel if it could not be found in the image.
Trait Implementations§
source§impl<DefaultSample: Clone> Clone for OptionalSampleReader<DefaultSample>
impl<DefaultSample: Clone> Clone for OptionalSampleReader<DefaultSample>
source§fn clone(&self) -> OptionalSampleReader<DefaultSample>
fn clone(&self) -> OptionalSampleReader<DefaultSample>
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