Enum exr::block::chunk::CompressedBlock [−][src]
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
impl Clone for CompressedBlock
[src]
impl Clone for CompressedBlock
[src]fn clone(&self) -> CompressedBlock
[src]
fn clone(&self) -> CompressedBlock
[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 CompressedBlock
impl Send for CompressedBlock
impl Sync for CompressedBlock
impl Unpin for CompressedBlock
impl UnwindSafe for CompressedBlock
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