Struct exr::block::chunk::CompressedDeepTileBlock
source · pub struct CompressedDeepTileBlock {
pub coordinates: TileCoordinates,
pub decompressed_sample_data_size: usize,
pub compressed_pixel_offset_table: Vec<i8>,
pub compressed_sample_data: Vec<u8>,
}
Expand description
This Block
is a tile of deep data.
Corresponds to type attribute deeptile
.
Fields§
§coordinates: TileCoordinates
The tile location.
decompressed_sample_data_size: usize
Count of samples.
compressed_pixel_offset_table: Vec<i8>
The pixel offset table is a list of integers, one for each pixel column within the data window. Each entry in the table indicates the total number of samples required to store the pixel in it as well as all pixels to the left of it.
compressed_sample_data: Vec<u8>
One or more scan lines may be stored together as a scan line block. The number of scan lines per block depends on how the pixel data are compressed. For each line in the tile, for each channel, the row values are contiguous.
Implementations§
Trait Implementations§
source§impl Clone for CompressedDeepTileBlock
impl Clone for CompressedDeepTileBlock
source§fn clone(&self) -> CompressedDeepTileBlock
fn clone(&self) -> CompressedDeepTileBlock
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 CompressedDeepTileBlock
impl RefUnwindSafe for CompressedDeepTileBlock
impl Send for CompressedDeepTileBlock
impl Sync for CompressedDeepTileBlock
impl Unpin for CompressedDeepTileBlock
impl UnwindSafe for CompressedDeepTileBlock
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
)