Struct exr::image::read::any_channels::ReadAnyChannels [−][src]
pub struct ReadAnyChannels<ReadSamples> { pub read_samples: ReadSamples, }
Expand description
A template that creates an AnyChannelsReader for each layer in the image.
This loads all channels for each layer.
The ReadSamples
can, for example, be [ReadFlatSamples] or [ReadAllLevels
Fields
read_samples: ReadSamples
The sample reading specification
Trait Implementations
impl<ReadSamples: Clone> Clone for ReadAnyChannels<ReadSamples>
[src]
impl<ReadSamples: Clone> Clone for ReadAnyChannels<ReadSamples>
[src]fn clone(&self) -> ReadAnyChannels<ReadSamples>
[src]
fn clone(&self) -> ReadAnyChannels<ReadSamples>
[src]Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]Performs copy-assignment from source
. Read more
impl<ReadSamples: Debug> Debug for ReadAnyChannels<ReadSamples>
[src]
impl<ReadSamples: Debug> Debug for ReadAnyChannels<ReadSamples>
[src]impl<ReadSamples: PartialEq> PartialEq<ReadAnyChannels<ReadSamples>> for ReadAnyChannels<ReadSamples>
[src]
impl<ReadSamples: PartialEq> PartialEq<ReadAnyChannels<ReadSamples>> for ReadAnyChannels<ReadSamples>
[src]fn eq(&self, other: &ReadAnyChannels<ReadSamples>) -> bool
[src]
fn eq(&self, other: &ReadAnyChannels<ReadSamples>) -> bool
[src]This method tests for self
and other
values to be equal, and is used
by ==
. Read more
fn ne(&self, other: &ReadAnyChannels<ReadSamples>) -> bool
[src]
fn ne(&self, other: &ReadAnyChannels<ReadSamples>) -> bool
[src]This method tests for !=
.
impl<'s, S: 's + ReadSamples> ReadChannels<'s> for ReadAnyChannels<S>
[src]
impl<'s, S: 's + ReadSamples> ReadChannels<'s> for ReadAnyChannels<S>
[src]type Reader = AnyChannelsReader<S::Reader>
type Reader = AnyChannelsReader<S::Reader>
The type of the temporary channels reader
fn create_channels_reader(&self, header: &Header) -> Result<Self::Reader>
[src]
fn create_channels_reader(&self, header: &Header) -> Result<Self::Reader>
[src]Create a single reader for all channels of a specific layer
fn first_valid_layer(self) -> ReadFirstValidLayer<Self> where
Self: Sized,
[src]
fn first_valid_layer(self) -> ReadFirstValidLayer<Self> where
Self: Sized,
[src]Read only the first layer which meets the previously specified requirements For example, skips layers with deep data, if specified earlier. Aborts if the image contains no layers. Read more
fn all_layers(self) -> ReadAllLayers<Self> where
Self: Sized,
[src]
fn all_layers(self) -> ReadAllLayers<Self> where
Self: Sized,
[src]Reads all layers, including an empty list. Aborts if any of the layers are invalid, even if only one of the layers contains unexpected data. Read more
impl<ReadSamples: Eq> Eq for ReadAnyChannels<ReadSamples>
[src]
impl<ReadSamples> StructuralEq for ReadAnyChannels<ReadSamples>
[src]
impl<ReadSamples> StructuralPartialEq for ReadAnyChannels<ReadSamples>
[src]
Auto Trait Implementations
impl<ReadSamples> RefUnwindSafe for ReadAnyChannels<ReadSamples> where
ReadSamples: RefUnwindSafe,
ReadSamples: RefUnwindSafe,
impl<ReadSamples> Send for ReadAnyChannels<ReadSamples> where
ReadSamples: Send,
ReadSamples: Send,
impl<ReadSamples> Sync for ReadAnyChannels<ReadSamples> where
ReadSamples: Sync,
ReadSamples: Sync,
impl<ReadSamples> Unpin for ReadAnyChannels<ReadSamples> where
ReadSamples: Unpin,
ReadSamples: Unpin,
impl<ReadSamples> UnwindSafe for ReadAnyChannels<ReadSamples> where
ReadSamples: UnwindSafe,
ReadSamples: UnwindSafe,
Blanket Implementations
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]pub fn borrow_mut(&mut self) -> &mut T
[src]
pub fn borrow_mut(&mut self) -> &mut T
[src]Mutably borrows from an owned value. Read more
impl<T> ToOwned for T where
T: Clone,
[src]
impl<T> ToOwned for T where
T: Clone,
[src]type Owned = T
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn to_owned(&self) -> T
[src]Creates owned data from borrowed data, usually by cloning. Read more
pub fn clone_into(&self, target: &mut T)
[src]
pub fn clone_into(&self, target: &mut T)
[src]🔬 This is a nightly-only experimental API. (toowned_clone_into
)
recently added
Uses borrowed data to replace owned data, usually by cloning. Read more