[][src]Trait leafrender::render::Dimensions

pub trait Dimensions {
    fn get_width(&self) -> usize;
fn get_height(&self) -> usize; }

The dimensions of a object

Required methods

fn get_width(&self) -> usize

Returns the width of this object.

fn get_height(&self) -> usize

Returns the height of this object.

Loading content...

Implementors

Loading content...