Struct ReadAllLevels

pub struct ReadAllLevels<DeepOrFlatSamples> { pub read_samples: DeepOrFlatSamples }

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>

fn all_channels(self) -> ReadAnyChannels<Self>

Read all arbitrary channels in each layer.

Trait Implementations

impl<DeepOrFlatSamples: Clone> Clone for ReadAllLevels<DeepOrFlatSamples>

fn clone(&self) -> Self

impl<DeepOrFlatSamples: Debug> Debug for ReadAllLevels<DeepOrFlatSamples>

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

impl<DeepOrFlatSamples: Eq> Eq for ReadAllLevels<DeepOrFlatSamples>

impl<DeepOrFlatSamples: PartialEq> PartialEq for ReadAllLevels<DeepOrFlatSamples>

fn eq(&self, other: &Self) -> bool

impl<DeepOrFlatSamples: PartialEq> StructuralPartialEq for ReadAllLevels<DeepOrFlatSamples>

impl<S: ReadSamplesLevel> ReadSamples for ReadAllLevels<S>

type Reader = AllLevelsReader<<S as ReadSamplesLevel>::Reader>;
fn create_sample_reader(&self, header: &Header, channel: &ChannelDescription) -> Result<Self::Reader>

Auto Trait Implementations

impl<DeepOrFlatSamples> Freeze for ReadAllLevels<DeepOrFlatSamples> where DeepOrFlatSamples: Freeze,

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> UnsafeUnpin for ReadAllLevels<DeepOrFlatSamples> where DeepOrFlatSamples: UnsafeUnpin,

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

Blanket Implementations

impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for ReadAllLevels<DeepOrFlatSamples> where ST: ?Sized, DT: ?Sized,

impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for ReadAllLevels<DeepOrFlatSamples> where ST: ?Sized, DT: ?Sized,

impl<T> Any for ReadAllLevels<DeepOrFlatSamples> where T: 'static + ?Sized,

fn type_id(&self) -> TypeId

impl<T> Borrow<T> for ReadAllLevels<DeepOrFlatSamples> where T: ?Sized,

fn borrow(&self) -> &T

impl<T> BorrowMut<T> for ReadAllLevels<DeepOrFlatSamples> where T: ?Sized,

fn borrow_mut(&mut self) -> &mut T

impl<T> CloneToUninit for ReadAllLevels<DeepOrFlatSamples> where T: Clone,

unsafe fn clone_to_uninit(&self, dest: *mut u8)

impl<T> From<T> for ReadAllLevels<DeepOrFlatSamples>

fn from(t: T) -> T

Returns the argument unchanged.

impl<T> Pointable for ReadAllLevels<DeepOrFlatSamples>

const ALIGN: usize = _;
type Init = T;
unsafe fn init(init: <T as Pointable>::Init) -> usize
unsafe fn deref<'a>(ptr: usize) -> &'a T
unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T
unsafe fn drop(ptr: usize)

impl<T> Read<Exclusive, BecauseExclusive> for ReadAllLevels<DeepOrFlatSamples> where T: ?Sized,

impl<T> ToOwned for ReadAllLevels<DeepOrFlatSamples> where T: Clone,

type Owned = T;
fn to_owned(&self) -> T
fn clone_into(&self, target: &mut T)

impl<T, U> Into<U> for ReadAllLevels<DeepOrFlatSamples> where U: From<T>,

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of [From]<T> for U chooses to do.

impl<T, U> TryFrom<U> for ReadAllLevels<DeepOrFlatSamples> where U: Into<T>,

type Error = never;
fn try_from(value: U) -> Result<T, never>

impl<T, U> TryInto<U> for ReadAllLevels<DeepOrFlatSamples> where U: TryFrom<T>,

type Error = <U as TryFrom<T>>::Error;
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>