Struct libraw::Pixel [] [src]

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

A reference to a pixel in a pixmap.

Methods

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

fn col(&self) -> usize

Returns the column of the pixel's location within the pixmap.

fn row(&self) -> usize

Returns the row of the pixel's location within the pixmap.

fn value(&self) -> T

Returns the pixel's value.