Struct ReadAllLayers

pub struct ReadAllLayers<ReadChannels> { pub read_channels: ReadChannels }

Specify to read all channels, aborting if any one is invalid. ReadRgbaChannels or [ReadAnyChannels<ReadFlatSamples>].

Fields

read_channels: ReadChannels

The channel reading specification

Trait Implementations

impl<'s, C> ReadLayers<'s> for ReadAllLayers<C> where C: ReadChannels<'s>,

type Layers = SmallVec<[Layer<<<C as ReadChannels<'s>>::Reader as ChannelsReader>::Channels>; 2]>;
type Reader = AllLayersReader<<C as ReadChannels<'s>>::Reader>;
fn create_layers_reader(&'s self, headers: &[Header]) -> Result<Self::Reader>

impl<ReadChannels: Clone> Clone for ReadAllLayers<ReadChannels>

fn clone(&self) -> Self

impl<ReadChannels: Debug> Debug for ReadAllLayers<ReadChannels>

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

impl<ReadChannels: Eq> Eq for ReadAllLayers<ReadChannels>

impl<ReadChannels: PartialEq> PartialEq for ReadAllLayers<ReadChannels>

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

impl<ReadChannels: PartialEq> StructuralPartialEq for ReadAllLayers<ReadChannels>

Auto Trait Implementations

impl<ReadChannels> Freeze for ReadAllLayers<ReadChannels> where ReadChannels: Freeze,

impl<ReadChannels> RefUnwindSafe for ReadAllLayers<ReadChannels> where ReadChannels: RefUnwindSafe,

impl<ReadChannels> Send for ReadAllLayers<ReadChannels> where ReadChannels: Send,

impl<ReadChannels> Sync for ReadAllLayers<ReadChannels> where ReadChannels: Sync,

impl<ReadChannels> Unpin for ReadAllLayers<ReadChannels> where ReadChannels: Unpin,

impl<ReadChannels> UnsafeUnpin for ReadAllLayers<ReadChannels> where ReadChannels: UnsafeUnpin,

impl<ReadChannels> UnwindSafe for ReadAllLayers<ReadChannels> where ReadChannels: UnwindSafe,

Blanket Implementations

impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for ReadAllLayers<ReadChannels> where ST: ?Sized, DT: ?Sized,

impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for ReadAllLayers<ReadChannels> where ST: ?Sized, DT: ?Sized,

impl<T> Any for ReadAllLayers<ReadChannels> where T: 'static + ?Sized,

impl<T> Borrow<T> for ReadAllLayers<ReadChannels> where T: ?Sized,

impl<T> BorrowMut<T> for ReadAllLayers<ReadChannels> where T: ?Sized,

impl<T> CloneToUninit for ReadAllLayers<ReadChannels> where T: Clone,

impl<T> From<T> for ReadAllLayers<ReadChannels>

impl<T> Pointable for ReadAllLayers<ReadChannels>

impl<T> Read<Exclusive, BecauseExclusive> for ReadAllLayers<ReadChannels> where T: ?Sized,

impl<T> ToOwned for ReadAllLayers<ReadChannels> where T: Clone,

impl<T, U> Into<U> for ReadAllLayers<ReadChannels> where U: From<T>,

impl<T, U> TryFrom<U> for ReadAllLayers<ReadChannels> where U: Into<T>,

impl<T, U> TryInto<U> for ReadAllLayers<ReadChannels> where U: TryFrom<T>,