pub struct AllLayersWriter<ChannelsWriter> {
layers: SmallVec<[LayerWriter<ChannelsWriter>; 2]>,
}
Expand description
A temporary writer for an arbitrary list of layers
Fields§
§layers: SmallVec<[LayerWriter<ChannelsWriter>; 2]>
Trait Implementations§
source§impl<ChannelsWriter: Clone> Clone for AllLayersWriter<ChannelsWriter>
impl<ChannelsWriter: Clone> Clone for AllLayersWriter<ChannelsWriter>
source§fn clone(&self) -> AllLayersWriter<ChannelsWriter>
fn clone(&self) -> AllLayersWriter<ChannelsWriter>
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<ChannelsWriter: Debug> Debug for AllLayersWriter<ChannelsWriter>
impl<ChannelsWriter: Debug> Debug for AllLayersWriter<ChannelsWriter>
source§impl<C> LayersWriter for AllLayersWriter<C>where
C: ChannelsWriter,
impl<C> LayersWriter for AllLayersWriter<C>where
C: ChannelsWriter,
source§fn extract_uncompressed_block(
&self,
headers: &[Header],
block: BlockIndex,
) -> Vec<u8> ⓘ
fn extract_uncompressed_block( &self, headers: &[Header], block: BlockIndex, ) -> Vec<u8> ⓘ
Deliver a block of pixels from a single layer to be stored in the file
source§impl<ChannelsWriter: PartialEq> PartialEq for AllLayersWriter<ChannelsWriter>
impl<ChannelsWriter: PartialEq> PartialEq for AllLayersWriter<ChannelsWriter>
source§fn eq(&self, other: &AllLayersWriter<ChannelsWriter>) -> bool
fn eq(&self, other: &AllLayersWriter<ChannelsWriter>) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl<ChannelsWriter: Eq> Eq for AllLayersWriter<ChannelsWriter>
impl<ChannelsWriter> StructuralPartialEq for AllLayersWriter<ChannelsWriter>
Auto Trait Implementations§
impl<ChannelsWriter> Freeze for AllLayersWriter<ChannelsWriter>where
ChannelsWriter: Freeze,
impl<ChannelsWriter> RefUnwindSafe for AllLayersWriter<ChannelsWriter>where
ChannelsWriter: RefUnwindSafe,
impl<ChannelsWriter> Send for AllLayersWriter<ChannelsWriter>where
ChannelsWriter: Send,
impl<ChannelsWriter> Sync for AllLayersWriter<ChannelsWriter>where
ChannelsWriter: Sync,
impl<ChannelsWriter> Unpin for AllLayersWriter<ChannelsWriter>where
ChannelsWriter: Unpin,
impl<ChannelsWriter> UnwindSafe for AllLayersWriter<ChannelsWriter>where
ChannelsWriter: 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