Trait cognitive_qualia::image::Image [] [src]

pub trait Image {
    fn get_size(&self) -> Size;
    fn get_width(&self) -> usize;
    fn get_height(&self) -> usize;
}

Trait providing interface for image storing objects.

Required Methods

Get width and height of the image.

Return width of the image.

Returns height of the image.

Implementors