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
This method 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>,
§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
§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