Trait conrod_glium::TextureDimensions
source · pub trait TextureDimensions {
fn dimensions(&self) -> (u32, u32);
}
Expand description
Glium textures that have two dimensions.
Required Methods
sourcefn dimensions(&self) -> (u32, u32)
fn dimensions(&self) -> (u32, u32)
The width and height of the texture.