Struct exr::block::BlockIndex [−][src]
pub struct BlockIndex {
pub layer: usize,
pub pixel_position: Vec2<usize>,
pub pixel_size: Vec2<usize>,
pub level: Vec2<usize>,
}Expand description
Specifies where a block of pixel data should be placed in the actual image. This is a globally unique identifier which includes the layer, level index, and pixel location.
Fields
layer: usizeIndex of the layer.
pixel_position: Vec2<usize>Index of the top left pixel from the block within the data window.
pixel_size: Vec2<usize>Number of pixels in this block, extending to the right and downwards. Stays the same across all resolution levels.
level: Vec2<usize>Index of the mip or rip level in the image.
Trait Implementations
This method tests for self and other values to be equal, and is used
by ==. Read more
This method tests for !=.
Auto Trait Implementations
impl RefUnwindSafe for BlockIndex
impl Send for BlockIndex
impl Sync for BlockIndex
impl Unpin for BlockIndex
impl UnwindSafe for BlockIndex
Blanket Implementations
Mutably borrows from an owned value. Read more