Trait opengl_graphics::ImageSize[][src]

pub trait ImageSize {
    fn get_size(&self) -> (u32, u32);

    fn get_width(&self) -> u32 { ... }
fn get_height(&self) -> u32 { ... } }
Expand description

Implemented by all images to be used with generic algorithms.

Required methods

Get the image size.

Provided methods

Gets the image width.

Gets the image height.

Implementors