Struct exr::block::chunk::CompressedDeepScanLineBlock [−][src]
pub struct CompressedDeepScanLineBlock { pub y_coordinate: i32, pub decompressed_sample_data_size: usize, pub compressed_pixel_offset_table: Vec<i8>, pub compressed_sample_data: Vec<u8>, }
Expand description
This Block
consists of one or more deep scan lines.
Corresponds to type attribute deepscanline
.
Fields
y_coordinate: i32
The block’s y coordinate is the pixel space y coordinate of the top scan line in the block. The top scan line block in the image is aligned with the top edge of the data window.
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
impl Clone for CompressedDeepScanLineBlock
[src]
impl Clone for CompressedDeepScanLineBlock
[src]fn clone(&self) -> CompressedDeepScanLineBlock
[src]
fn clone(&self) -> CompressedDeepScanLineBlock
[src]Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]Performs copy-assignment from source
. Read more
Auto Trait Implementations
impl RefUnwindSafe for CompressedDeepScanLineBlock
impl Send for CompressedDeepScanLineBlock
impl Sync for CompressedDeepScanLineBlock
impl Unpin for CompressedDeepScanLineBlock
impl UnwindSafe for CompressedDeepScanLineBlock
Blanket Implementations
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]pub fn borrow_mut(&mut self) -> &mut T
[src]
pub fn borrow_mut(&mut self) -> &mut T
[src]Mutably borrows from an owned value. Read more
impl<T> ToOwned for T where
T: Clone,
[src]
impl<T> ToOwned for T where
T: Clone,
[src]type Owned = T
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn to_owned(&self) -> T
[src]Creates owned data from borrowed data, usually by cloning. Read more
pub fn clone_into(&self, target: &mut T)
[src]
pub fn clone_into(&self, target: &mut T)
[src]🔬 This is a nightly-only experimental API. (toowned_clone_into
)
recently added
Uses borrowed data to replace owned data, usually by cloning. Read more