pub trait Renderable<T> {
// Required method
fn render(&self, graphics: &mut Graphics<'_>);
}
Expand description
Represents anything that Graphics can render
pub trait Renderable<T> {
// Required method
fn render(&self, graphics: &mut Graphics<'_>);
}
Represents anything that Graphics can render