Trait andrew::Drawable[][src]

pub trait Drawable {
    fn draw(&self, canvas: &mut Canvas);
}

The Drawable trait allows object to be drawn to a buffer or canvas

Required Methods

A function that draws the object to a canvas

Implementors