[]Trait opengl_graphics::ImageSize

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

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

Implemented by all images to be used with generic algorithms.

Required methods

fn get_size(&self) -> (u32, u32)

Get the image size.

Loading content...

Provided methods

fn get_width(&self) -> u32

Gets the image width.

fn get_height(&self) -> u32

Gets the image height.

Loading content...

Implementors

impl ImageSize for Texture[src]

Loading content...