pub struct LayerWriter<ChannelsWriter> {
channels: ChannelsWriter,
}
Expand description
A temporary writer for a single layer
Fields§
§channels: ChannelsWriter
Trait Implementations§
source§impl<ChannelsWriter: Clone> Clone for LayerWriter<ChannelsWriter>
impl<ChannelsWriter: Clone> Clone for LayerWriter<ChannelsWriter>
source§fn clone(&self) -> LayerWriter<ChannelsWriter>
fn clone(&self) -> LayerWriter<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 LayerWriter<ChannelsWriter>
impl<ChannelsWriter: Debug> Debug for LayerWriter<ChannelsWriter>
source§impl<C> LayersWriter for LayerWriter<C>where
C: ChannelsWriter,
impl<C> LayersWriter for LayerWriter<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 LayerWriter<ChannelsWriter>
impl<ChannelsWriter: PartialEq> PartialEq for LayerWriter<ChannelsWriter>
source§fn eq(&self, other: &LayerWriter<ChannelsWriter>) -> bool
fn eq(&self, other: &LayerWriter<ChannelsWriter>) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl<ChannelsWriter: Eq> Eq for LayerWriter<ChannelsWriter>
impl<ChannelsWriter> StructuralPartialEq for LayerWriter<ChannelsWriter>
Auto Trait Implementations§
impl<ChannelsWriter> Freeze for LayerWriter<ChannelsWriter>where
ChannelsWriter: Freeze,
impl<ChannelsWriter> RefUnwindSafe for LayerWriter<ChannelsWriter>where
ChannelsWriter: RefUnwindSafe,
impl<ChannelsWriter> Send for LayerWriter<ChannelsWriter>where
ChannelsWriter: Send,
impl<ChannelsWriter> Sync for LayerWriter<ChannelsWriter>where
ChannelsWriter: Sync,
impl<ChannelsWriter> Unpin for LayerWriter<ChannelsWriter>where
ChannelsWriter: Unpin,
impl<ChannelsWriter> UnwindSafe for LayerWriter<ChannelsWriter>where
ChannelsWriter: 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