Trait pix_engine::core::draw::Draw[][src]

pub trait Draw {
    fn draw(&self, s: &mut PixState) -> PixResult<()>;
}
Expand description

Trait for objects that can be drawn to the screen.

Required methods

Draw shape to the current PixState canvas.

Implementors