Trait dimage::Image [] [src]

pub trait Image {
    type Bounds: Bounds<Index = Self::Index>;
    type Index: Copy;
    type Pixel;
    fn bounds(&self) -> &Self::Bounds;
    fn pixel(&self, index: Self::Index) -> Self::Pixel;
}

Raster image trait.

Associated Types

Required Methods

Implementors