[][src]Enum exr::meta::Blocks

pub enum Blocks {
    ScanLines,
    Tiles(TileDescription),
}

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.

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.

Methods

impl Blocks[src]

pub fn has_tiles(&self) -> bool[src]

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

Trait Implementations

impl Clone for Blocks[src]

impl Copy for Blocks[src]

impl Debug for Blocks[src]

impl Eq for Blocks[src]

impl PartialEq<Blocks> for Blocks[src]

impl StructuralEq for Blocks[src]

impl StructuralPartialEq for Blocks[src]

Auto Trait Implementations

impl RefUnwindSafe for Blocks

impl Send for Blocks

impl Sync for Blocks

impl Unpin for Blocks

impl UnwindSafe for Blocks

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.