[][src]Trait quicksilver::graphics::Drawable

pub trait Drawable {
    fn draw<'a>(
        &self,
        mesh: &mut Mesh,
        background: Background<'a>,
        transform: Transform,
        z: impl Scalar
    ); }

Some object that can be drawn to the screen

Required methods

fn draw<'a>(
    &self,
    mesh: &mut Mesh,
    background: Background<'a>,
    transform: Transform,
    z: impl Scalar
)

Draw the object to the Mesh

Loading content...

Implementors

impl Drawable for Circle[src]

impl Drawable for Line[src]

impl Drawable for Rectangle[src]

impl Drawable for Triangle[src]

impl Drawable for Vector[src]

Loading content...