Struct exr::block::chunk::CompressedScanLineBlock
source · pub struct CompressedScanLineBlock {
pub y_coordinate: i32,
pub compressed_pixels: Vec<u8>,
}
Expand description
A Block
of possibly compressed flat scan lines.
Corresponds to type attribute scanlineimage
.
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.
compressed_pixels: 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 CompressedScanLineBlock
impl Clone for CompressedScanLineBlock
source§fn clone(&self) -> CompressedScanLineBlock
fn clone(&self) -> CompressedScanLineBlock
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 CompressedScanLineBlock
impl RefUnwindSafe for CompressedScanLineBlock
impl Send for CompressedScanLineBlock
impl Sync for CompressedScanLineBlock
impl Unpin for CompressedScanLineBlock
impl UnwindSafe for CompressedScanLineBlock
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
)