Struct img::ImageBuffer [] [src]

pub struct ImageBuffer<PixelP> where
    PixelP: Pixel
{ /* fields omitted */ }

TODO: Struct documentation

Trait Implementations

impl<PixelP: Clone> Clone for ImageBuffer<PixelP> where
    PixelP: Pixel
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl<PixelP> Image for ImageBuffer<PixelP> where
    PixelP: Pixel
[src]

TODO: Impl documentation

The Pixel type of this image. Read more

Returns the memory size for the whole image in bytes.

Loads an Image out of a raw buffer. Read more

Writes an Image into a raw buffer. Read more

Returns the width of the image in pixels.

Returns the height of the image in pixels.

Returns the pitch of the image in bytes.

Retrieve the pixel for a given location (x, y). Read more

Stores a pixel at a location (x, y) in the Image. Read more