Enum CompressedBlock

pub enum CompressedBlock

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. The byte data is in little-endian format, as these bytes will be written into the file directly.

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

fn clone(&self) -> Self

impl Debug for CompressedBlock

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

Auto Trait Implementations

impl Freeze for CompressedBlock

impl RefUnwindSafe for CompressedBlock

impl Send for CompressedBlock

impl Sync for CompressedBlock

impl Unpin for CompressedBlock

impl UnsafeUnpin for CompressedBlock

impl UnwindSafe for CompressedBlock

Blanket Implementations

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

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

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

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

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

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

impl<T> From<T> for CompressedBlock

impl<T> Pointable for CompressedBlock

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

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

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

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

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