[][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.

Implementors

impl<B> ImageDimensions for UiTexture<B> where
    B: Backend, 

impl ImageDimensions for Image

impl ImageDimensions for Image