pub struct ReadFirstValidLayer<ReadChannels> {
pub read_channels: ReadChannels,
}
Expand description
Specify to read only the first layer which meets the previously specified requirements
Fields§
§read_channels: ReadChannels
The channel reading specification
Trait Implementations§
source§impl<ReadChannels: Clone> Clone for ReadFirstValidLayer<ReadChannels>
impl<ReadChannels: Clone> Clone for ReadFirstValidLayer<ReadChannels>
source§fn clone(&self) -> ReadFirstValidLayer<ReadChannels>
fn clone(&self) -> ReadFirstValidLayer<ReadChannels>
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 moresource§impl<ReadChannels: Debug> Debug for ReadFirstValidLayer<ReadChannels>
impl<ReadChannels: Debug> Debug for ReadFirstValidLayer<ReadChannels>
source§impl<ReadChannels: PartialEq> PartialEq for ReadFirstValidLayer<ReadChannels>
impl<ReadChannels: PartialEq> PartialEq for ReadFirstValidLayer<ReadChannels>
source§fn eq(&self, other: &ReadFirstValidLayer<ReadChannels>) -> bool
fn eq(&self, other: &ReadFirstValidLayer<ReadChannels>) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.source§impl<'s, C> ReadLayers<'s> for ReadFirstValidLayer<C>where
C: ReadChannels<'s>,
impl<'s, C> ReadLayers<'s> for ReadFirstValidLayer<C>where
C: ReadChannels<'s>,
source§type Layers = Layer<<<C as ReadChannels<'s>>::Reader as ChannelsReader>::Channels>
type Layers = Layer<<<C as ReadChannels<'s>>::Reader as ChannelsReader>::Channels>
The type of the resulting Layers
source§type Reader = FirstValidLayerReader<<C as ReadChannels<'s>>::Reader>
type Reader = FirstValidLayerReader<<C as ReadChannels<'s>>::Reader>
The type of the temporary layer reader
impl<ReadChannels: Eq> Eq for ReadFirstValidLayer<ReadChannels>
impl<ReadChannels> StructuralPartialEq for ReadFirstValidLayer<ReadChannels>
Auto Trait Implementations§
impl<ReadChannels> Freeze for ReadFirstValidLayer<ReadChannels>where
ReadChannels: Freeze,
impl<ReadChannels> RefUnwindSafe for ReadFirstValidLayer<ReadChannels>where
ReadChannels: RefUnwindSafe,
impl<ReadChannels> Send for ReadFirstValidLayer<ReadChannels>where
ReadChannels: Send,
impl<ReadChannels> Sync for ReadFirstValidLayer<ReadChannels>where
ReadChannels: Sync,
impl<ReadChannels> Unpin for ReadFirstValidLayer<ReadChannels>where
ReadChannels: Unpin,
impl<ReadChannels> UnwindSafe for ReadFirstValidLayer<ReadChannels>where
ReadChannels: UnwindSafe,
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)