[][src]Struct exr::image::LineIndex

pub struct LineIndex {
    pub layer: usize,
    pub channel: usize,
    pub level: Vec2<usize>,
    pub position: Vec2<usize>,
    pub sample_count: usize,
}

Specifies where a row of pixels lies inside an image. This is a globally unique identifier which includes the layer, channel index, and pixel location.

Fields

layer: usize

Index of the layer.

channel: usize

The channel index of the layer.

level: Vec2<usize>

Index of the mip or rip level in the image.

position: Vec2<usize>

Position of the most left pixel of the row.

sample_count: usize

The width of the line; the number of samples in this row, that is, the number of f16, f32, or u32 values.

Trait Implementations

impl Clone for LineIndex[src]

impl Copy for LineIndex[src]

impl Debug for LineIndex[src]

impl Eq for LineIndex[src]

impl Hash for LineIndex[src]

impl PartialEq<LineIndex> for LineIndex[src]

impl StructuralEq for LineIndex[src]

impl StructuralPartialEq for LineIndex[src]

Auto Trait Implementations

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.