Trait Drawable
Source pub trait Drawable {
// Required method
fn draw(&self, canvas: &mut Canvas, transform: Transform);
}
Expand description
Objects which can be drawn by draw.
Draws this object, applying a transform to it.
You can use any of the drawing functions on the Canvas. Drawing your own geometry is
possible via draw_geometry.