Enum exr::block::chunk::CompressedBlock
source · pub enum CompressedBlock {
ScanLine(CompressedScanLineBlock),
Tile(CompressedTileBlock),
DeepScanLine(CompressedDeepScanLineBlock),
DeepTile(CompressedDeepTileBlock),
}
Expand description
The raw, possibly compressed pixel data of a file.
Each layer in a file can have a different type.
Also contains positioning information that locates this
data block in the corresponding layer.
Exists inside a Chunk
.
Variants§
ScanLine(CompressedScanLineBlock)
Scan line blocks of flat data.
Tile(CompressedTileBlock)
Tiles of flat data.
DeepScanLine(CompressedDeepScanLineBlock)
Scan line blocks of deep data.
DeepTile(CompressedDeepTileBlock)
Tiles of deep data.
Trait Implementations§
source§impl Clone for CompressedBlock
impl Clone for CompressedBlock
source§fn clone(&self) -> CompressedBlock
fn clone(&self) -> CompressedBlock
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 moreAuto Trait Implementations§
impl Freeze for CompressedBlock
impl RefUnwindSafe for CompressedBlock
impl Send for CompressedBlock
impl Sync for CompressedBlock
impl Unpin for CompressedBlock
impl UnwindSafe for CompressedBlock
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