Enum Blocks
pub enum Blocks
How the image pixels are split up into separate blocks.
Variants
-
ScanLines The image is divided into scan line blocks. The number of scan lines in a block depends on the compression method.
-
Tiles(Vec2<usize>) The image is divided into tile blocks. Also specifies the size of each tile in the image and whether this image contains multiple resolution levels.
The inner
Vec2describes the size of each tile. Stays the same number of pixels across all levels.
Trait Implementations
impl Clone for Blocks
fn clone(&self) -> Self
impl Copy for Blocks
impl Debug for Blocks
fn fmt(&self, f: &mut Formatter<'_>) -> Result
impl Eq for Blocks
impl PartialEq for Blocks
fn eq(&self, other: &Self) -> bool