Struct exr::image::read::levels::ReadAllLevels[][src]

pub struct ReadAllLevels<DeepOrFlatSamples> {
    pub read_samples: DeepOrFlatSamples,
}
Expand description

Specify to read all contained resolution levels from the image, if any.

Fields

read_samples: DeepOrFlatSamples

The sample reading specification

Implementations

impl<ReadDeepOrFlatSamples> ReadAllLevels<ReadDeepOrFlatSamples>[src]

pub fn all_channels(self) -> ReadAnyChannels<Self>[src]

Read all arbitrary channels in each layer.

Trait Implementations

impl<DeepOrFlatSamples: Clone> Clone for ReadAllLevels<DeepOrFlatSamples>[src]

fn clone(&self) -> ReadAllLevels<DeepOrFlatSamples>[src]

Returns a copy of the value. Read more

fn clone_from(&mut self, source: &Self)1.0.0[src]

Performs copy-assignment from source. Read more

impl<DeepOrFlatSamples: Debug> Debug for ReadAllLevels<DeepOrFlatSamples>[src]

fn fmt(&self, f: &mut Formatter<'_>) -> Result[src]

Formats the value using the given formatter. Read more

impl<DeepOrFlatSamples: PartialEq> PartialEq<ReadAllLevels<DeepOrFlatSamples>> for ReadAllLevels<DeepOrFlatSamples>[src]

fn eq(&self, other: &ReadAllLevels<DeepOrFlatSamples>) -> bool[src]

This method tests for self and other values to be equal, and is used by ==. Read more

fn ne(&self, other: &ReadAllLevels<DeepOrFlatSamples>) -> bool[src]

This method tests for !=.

impl<S: ReadSamplesLevel> ReadSamples for ReadAllLevels<S>[src]

type Reader = AllLevelsReader<S::Reader>

The type of the temporary samples reader

fn create_sample_reader(
    &self,
    header: &Header,
    channel: &ChannelDescription
) -> Result<Self::Reader>
[src]

Create a single reader for a single channel of a layer

impl<DeepOrFlatSamples: Eq> Eq for ReadAllLevels<DeepOrFlatSamples>[src]

impl<DeepOrFlatSamples> StructuralEq for ReadAllLevels<DeepOrFlatSamples>[src]

impl<DeepOrFlatSamples> StructuralPartialEq for ReadAllLevels<DeepOrFlatSamples>[src]

Auto Trait Implementations

impl<DeepOrFlatSamples> RefUnwindSafe for ReadAllLevels<DeepOrFlatSamples> where
    DeepOrFlatSamples: RefUnwindSafe

impl<DeepOrFlatSamples> Send for ReadAllLevels<DeepOrFlatSamples> where
    DeepOrFlatSamples: Send

impl<DeepOrFlatSamples> Sync for ReadAllLevels<DeepOrFlatSamples> where
    DeepOrFlatSamples: Sync

impl<DeepOrFlatSamples> Unpin for ReadAllLevels<DeepOrFlatSamples> where
    DeepOrFlatSamples: Unpin

impl<DeepOrFlatSamples> UnwindSafe for ReadAllLevels<DeepOrFlatSamples> where
    DeepOrFlatSamples: UnwindSafe

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

pub fn type_id(&self) -> TypeId[src]

Gets the TypeId of self. Read more

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

pub fn borrow(&self) -> &T[src]

Immutably borrows from an owned value. Read more

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

pub fn borrow_mut(&mut self) -> &mut T[src]

Mutably borrows from an owned value. Read more

impl<T> From<T> for T[src]

pub fn from(t: T) -> T[src]

Performs the conversion.

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

pub fn into(self) -> U[src]

Performs the conversion.

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

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]

🔬 This is a nightly-only experimental API. (toowned_clone_into)

recently added

Uses borrowed data to replace owned data, usually by cloning. Read more

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]

Performs the conversion.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

pub fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>[src]

Performs the conversion.