pub struct LayerReader<ChannelsReader> {
channels_reader: ChannelsReader,
attributes: LayerAttributes,
size: Vec2<usize>,
encoding: Encoding,
}
Expand description
Processes pixel blocks from a file and accumulates them into a single layers.
For example, ChannelsReader
can be
SpecificChannelsReader
or AnyChannelsReader<FlatSamplesReader>
.
Fields§
§channels_reader: ChannelsReader
§attributes: LayerAttributes
§size: Vec2<usize>
§encoding: Encoding
Implementations§
Trait Implementations§
source§impl<ChannelsReader: Clone> Clone for LayerReader<ChannelsReader>
impl<ChannelsReader: Clone> Clone for LayerReader<ChannelsReader>
source§fn clone(&self) -> LayerReader<ChannelsReader>
fn clone(&self) -> LayerReader<ChannelsReader>
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<ChannelsReader: Debug> Debug for LayerReader<ChannelsReader>
impl<ChannelsReader: Debug> Debug for LayerReader<ChannelsReader>
source§impl<ChannelsReader: PartialEq> PartialEq for LayerReader<ChannelsReader>
impl<ChannelsReader: PartialEq> PartialEq for LayerReader<ChannelsReader>
impl<ChannelsReader> StructuralPartialEq for LayerReader<ChannelsReader>
Auto Trait Implementations§
impl<ChannelsReader> Freeze for LayerReader<ChannelsReader>where
ChannelsReader: Freeze,
impl<ChannelsReader> RefUnwindSafe for LayerReader<ChannelsReader>where
ChannelsReader: RefUnwindSafe,
impl<ChannelsReader> Send for LayerReader<ChannelsReader>where
ChannelsReader: Send,
impl<ChannelsReader> Sync for LayerReader<ChannelsReader>where
ChannelsReader: Sync,
impl<ChannelsReader> Unpin for LayerReader<ChannelsReader>where
ChannelsReader: Unpin,
impl<ChannelsReader> UnwindSafe for LayerReader<ChannelsReader>where
ChannelsReader: 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
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
)