pub trait Renderable<T> {
// Required method
fn render(&self, graphics: &mut Graphics<'_>);
}Expand description
Represents anything that Graphics can render
Required Methods§
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".