pub struct AnyChannelsWriter<SamplesWriter> {
channels: SmallVec<[SamplesWriter; 4]>,
}
Expand description
A temporary writer for an arbitrary list of channels
Fields§
§channels: SmallVec<[SamplesWriter; 4]>
Trait Implementations§
source§impl<Samples> ChannelsWriter for AnyChannelsWriter<Samples>where
Samples: SamplesWriter,
impl<Samples> ChannelsWriter for AnyChannelsWriter<Samples>where
Samples: SamplesWriter,
source§fn extract_uncompressed_block(
&self,
header: &Header,
block_index: BlockIndex,
) -> Vec<u8> ⓘ
fn extract_uncompressed_block( &self, header: &Header, block_index: BlockIndex, ) -> Vec<u8> ⓘ
Deliver a block of pixels, containing all channel data, to be stored in the file
source§impl<SamplesWriter: Clone> Clone for AnyChannelsWriter<SamplesWriter>
impl<SamplesWriter: Clone> Clone for AnyChannelsWriter<SamplesWriter>
source§fn clone(&self) -> AnyChannelsWriter<SamplesWriter>
fn clone(&self) -> AnyChannelsWriter<SamplesWriter>
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<SamplesWriter: Debug> Debug for AnyChannelsWriter<SamplesWriter>
impl<SamplesWriter: Debug> Debug for AnyChannelsWriter<SamplesWriter>
source§impl<SamplesWriter: PartialEq> PartialEq for AnyChannelsWriter<SamplesWriter>
impl<SamplesWriter: PartialEq> PartialEq for AnyChannelsWriter<SamplesWriter>
source§fn eq(&self, other: &AnyChannelsWriter<SamplesWriter>) -> bool
fn eq(&self, other: &AnyChannelsWriter<SamplesWriter>) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl<SamplesWriter: Eq> Eq for AnyChannelsWriter<SamplesWriter>
impl<SamplesWriter> StructuralPartialEq for AnyChannelsWriter<SamplesWriter>
Auto Trait Implementations§
impl<SamplesWriter> Freeze for AnyChannelsWriter<SamplesWriter>where
SamplesWriter: Freeze,
impl<SamplesWriter> RefUnwindSafe for AnyChannelsWriter<SamplesWriter>where
SamplesWriter: RefUnwindSafe,
impl<SamplesWriter> Send for AnyChannelsWriter<SamplesWriter>where
SamplesWriter: Send,
impl<SamplesWriter> Sync for AnyChannelsWriter<SamplesWriter>where
SamplesWriter: Sync,
impl<SamplesWriter> Unpin for AnyChannelsWriter<SamplesWriter>where
SamplesWriter: Unpin,
impl<SamplesWriter> UnwindSafe for AnyChannelsWriter<SamplesWriter>where
SamplesWriter: RefUnwindSafe + 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