Struct exr::block::chunk::Chunk [−][src]
pub struct Chunk {
pub layer_index: usize,
pub compressed_block: CompressedBlock,
}Expand description
A generic block of pixel information. Contains pixel data and an index to the corresponding header. All pixel data in a file is split into a list of chunks. Also contains positioning information that locates this data block in the referenced layer.
Fields
layer_index: usizeThe index of the layer that the block belongs to. This is required as the pixel data can appear in any order in a file.
compressed_block: CompressedBlockThe compressed pixel contents.
Implementations
Validation of chunks is done while reading and writing the actual data. (For example in exr::full_image)
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Chunk
impl UnwindSafe for Chunk
Blanket Implementations
Mutably borrows from an owned value. Read more