pub struct SpecificChannelsWriter<'channels, PixelWriter, Storage, Channels> {
channels: &'channels SpecificChannels<Storage, Channels>,
recursive_channel_writer: PixelWriter,
}
Expand description
A temporary writer for a layer of channels, alpha being optional
Fields§
§channels: &'channels SpecificChannels<Storage, Channels>
§recursive_channel_writer: PixelWriter
Trait Implementations§
source§impl<'channels, PxWriter, Storage, Channels> ChannelsWriter for SpecificChannelsWriter<'channels, PxWriter, Storage, Channels>where
Channels: Sync,
Storage: GetPixel,
Storage::Pixel: IntoRecursive,
PxWriter: Sync + RecursivePixelWriter<<Storage::Pixel as IntoRecursive>::Recursive>,
impl<'channels, PxWriter, Storage, Channels> ChannelsWriter for SpecificChannelsWriter<'channels, PxWriter, Storage, Channels>where
Channels: Sync,
Storage: GetPixel,
Storage::Pixel: IntoRecursive,
PxWriter: Sync + RecursivePixelWriter<<Storage::Pixel as IntoRecursive>::Recursive>,
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<'channels, PixelWriter: Clone, Storage: Clone, Channels: Clone> Clone for SpecificChannelsWriter<'channels, PixelWriter, Storage, Channels>
impl<'channels, PixelWriter: Clone, Storage: Clone, Channels: Clone> Clone for SpecificChannelsWriter<'channels, PixelWriter, Storage, Channels>
source§fn clone(
&self,
) -> SpecificChannelsWriter<'channels, PixelWriter, Storage, Channels>
fn clone( &self, ) -> SpecificChannelsWriter<'channels, PixelWriter, Storage, Channels>
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<'channels, PixelWriter: Debug, Storage: Debug, Channels: Debug> Debug for SpecificChannelsWriter<'channels, PixelWriter, Storage, Channels>
impl<'channels, PixelWriter: Debug, Storage: Debug, Channels: Debug> Debug for SpecificChannelsWriter<'channels, PixelWriter, Storage, Channels>
source§impl<'channels, PixelWriter: PartialEq, Storage: PartialEq, Channels: PartialEq> PartialEq for SpecificChannelsWriter<'channels, PixelWriter, Storage, Channels>
impl<'channels, PixelWriter: PartialEq, Storage: PartialEq, Channels: PartialEq> PartialEq for SpecificChannelsWriter<'channels, PixelWriter, Storage, Channels>
source§fn eq(
&self,
other: &SpecificChannelsWriter<'channels, PixelWriter, Storage, Channels>,
) -> bool
fn eq( &self, other: &SpecificChannelsWriter<'channels, PixelWriter, Storage, Channels>, ) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.impl<'channels, PixelWriter: Eq, Storage: Eq, Channels: Eq> Eq for SpecificChannelsWriter<'channels, PixelWriter, Storage, Channels>
impl<'channels, PixelWriter, Storage, Channels> StructuralPartialEq for SpecificChannelsWriter<'channels, PixelWriter, Storage, Channels>
Auto Trait Implementations§
impl<'channels, PixelWriter, Storage, Channels> Freeze for SpecificChannelsWriter<'channels, PixelWriter, Storage, Channels>where
PixelWriter: Freeze,
impl<'channels, PixelWriter, Storage, Channels> RefUnwindSafe for SpecificChannelsWriter<'channels, PixelWriter, Storage, Channels>
impl<'channels, PixelWriter, Storage, Channels> Send for SpecificChannelsWriter<'channels, PixelWriter, Storage, Channels>
impl<'channels, PixelWriter, Storage, Channels> Sync for SpecificChannelsWriter<'channels, PixelWriter, Storage, Channels>
impl<'channels, PixelWriter, Storage, Channels> Unpin for SpecificChannelsWriter<'channels, PixelWriter, Storage, Channels>where
PixelWriter: Unpin,
impl<'channels, PixelWriter, Storage, Channels> UnwindSafe for SpecificChannelsWriter<'channels, PixelWriter, Storage, Channels>
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
)