Trait ytesrev::drawable::KnownSize[][src]

pub trait KnownSize: Drawable {
    fn width(&self) -> usize;
fn height(&self) -> usize; }

An object that has a determined size, like an image, but not a solid that can fit any shape it's called with

Required Methods

The width of the object

The height of the object

Implementors