pub trait Renderer<WORLD>: Send + Sync{
type Error: Debug;
// Required method
fn render(&mut self, world: Arc<RwLock<WORLD>>) -> Result<(), Self::Error>;
}Expand description
Re-export of Nate’s Engine Core Rendering Engine Trait
Required Associated Types§
Required Methods§
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".