pub trait RenderInterface {
// Required methods
fn update<'a, T, U>(&mut self, data: T)
where T: Iterator<Item = U>,
U: Into<&'a SpriteCell>;
fn get_fps(&self) -> f32;
}Expand description
Interface for EngineDriver -> Renderer communication.
Required Methods§
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.