Struct exr::image::crop::CroppedWriter
source · pub struct CroppedWriter<ChannelsWriter> {
channels: ChannelsWriter,
offset: Vec2<usize>,
}
Expand description
A writer for the cropped view layer
Fields§
§channels: ChannelsWriter
§offset: Vec2<usize>
Trait Implementations§
source§impl<'c, Channels> ChannelsWriter for CroppedWriter<Channels>where
Channels: ChannelsWriter,
impl<'c, Channels> ChannelsWriter for CroppedWriter<Channels>where
Channels: ChannelsWriter,
source§fn extract_uncompressed_block(
&self,
header: &Header,
block: BlockIndex,
) -> Vec<u8> ⓘ
fn extract_uncompressed_block( &self, header: &Header, block: BlockIndex, ) -> Vec<u8> ⓘ
Deliver a block of pixels, containing all channel data, to be stored in the file
source§impl<ChannelsWriter: Clone> Clone for CroppedWriter<ChannelsWriter>
impl<ChannelsWriter: Clone> Clone for CroppedWriter<ChannelsWriter>
source§fn clone(&self) -> CroppedWriter<ChannelsWriter>
fn clone(&self) -> CroppedWriter<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 CroppedWriter<ChannelsWriter>
impl<ChannelsWriter: Debug> Debug for CroppedWriter<ChannelsWriter>
source§impl<ChannelsWriter: PartialEq> PartialEq for CroppedWriter<ChannelsWriter>
impl<ChannelsWriter: PartialEq> PartialEq for CroppedWriter<ChannelsWriter>
source§fn eq(&self, other: &CroppedWriter<ChannelsWriter>) -> bool
fn eq(&self, other: &CroppedWriter<ChannelsWriter>) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl<ChannelsWriter> StructuralPartialEq for CroppedWriter<ChannelsWriter>
Auto Trait Implementations§
impl<ChannelsWriter> Freeze for CroppedWriter<ChannelsWriter>where
ChannelsWriter: Freeze,
impl<ChannelsWriter> RefUnwindSafe for CroppedWriter<ChannelsWriter>where
ChannelsWriter: RefUnwindSafe,
impl<ChannelsWriter> Send for CroppedWriter<ChannelsWriter>where
ChannelsWriter: Send,
impl<ChannelsWriter> Sync for CroppedWriter<ChannelsWriter>where
ChannelsWriter: Sync,
impl<ChannelsWriter> Unpin for CroppedWriter<ChannelsWriter>where
ChannelsWriter: Unpin,
impl<ChannelsWriter> UnwindSafe for CroppedWriter<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