Enum BlockDescription

pub enum BlockDescription

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(TileDescription)

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.

Implementations

impl BlockDescription

fn has_tiles(&self) -> bool

Whether this image is tiled. If false, this image is divided into scan line blocks.

Trait Implementations

impl Clone for BlockDescription

fn clone(&self) -> Self

impl Copy for BlockDescription

impl Debug for BlockDescription

fn fmt(&self, f: &mut Formatter<'_>) -> Result

impl Eq for BlockDescription

impl Hash for BlockDescription

fn hash<__H: Hasher>(&self, state: &mut __H)

impl PartialEq for BlockDescription

fn eq(&self, other: &Self) -> bool

impl StructuralPartialEq for BlockDescription

Auto Trait Implementations

impl Freeze for BlockDescription

impl RefUnwindSafe for BlockDescription

impl Send for BlockDescription

impl Sync for BlockDescription

impl Unpin for BlockDescription

impl UnsafeUnpin for BlockDescription

impl UnwindSafe for BlockDescription

Blanket Implementations

impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for BlockDescription where ST: ?Sized, DT: ?Sized,

impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for BlockDescription where ST: ?Sized, DT: ?Sized,

impl<T> Any for BlockDescription where T: 'static + ?Sized,

impl<T> Borrow<T> for BlockDescription where T: ?Sized,

impl<T> BorrowMut<T> for BlockDescription where T: ?Sized,

impl<T> CloneToUninit for BlockDescription where T: Clone,

impl<T> From<T> for BlockDescription

impl<T> Pointable for BlockDescription

impl<T> Read<Exclusive, BecauseExclusive> for BlockDescription where T: ?Sized,

impl<T> ToOwned for BlockDescription where T: Clone,

impl<T, U> Into<U> for BlockDescription where U: From<T>,

impl<T, U> TryFrom<U> for BlockDescription where U: Into<T>,

impl<T, U> TryInto<U> for BlockDescription where U: TryFrom<T>,