pub fn draw<D: Drawable, P: Into<DrawParams>>( ctx: &mut Context, drawable: &D, params: P)
Draws an object to the currently enabled render target.
This function simply calls draw on the passed object - it is provided to allow you to avoid having to import the Drawable trait as well as the graphics module.
draw
Drawable
graphics