[][src]Trait conrod_core::mesh::ImageDimensions

pub trait ImageDimensions {
    fn dimensions(&self) -> [u32; 2];
}

Images within the given image map must know their dimensions in pixels.

Required methods

fn dimensions(&self) -> [u32; 2]

The dimensions of the image in pixels.

Loading content...

Implementors

Loading content...