Struct libraw::Pixmap [] [src]

pub struct Pixmap<'a, T: Clone + 'static> {
    // some fields omitted
}

Maps pixel data onto a two-dimensional grid.

Methods

impl<'a, T> Pixmap<'a, T> where T: Clone + 'static

fn cols(&self) -> usize

Returns the number of columns.

fn rows(&self) -> usize

Returns the number of rows.

fn len(&self) -> usize

Returns the number of pixels.

fn pixels(&'a self) -> Pixels<'a, T>

Returns an iterator over the pixels.