pub trait Renderer {
// Required method
fn render(&mut self, graph: &SceneGraph, options: &RenderOptions) -> Image;
}Expand description
Draws a scene graph into an image.
Required Methods§
Sourcefn render(&mut self, graph: &SceneGraph, options: &RenderOptions) -> Image
fn render(&mut self, graph: &SceneGraph, options: &RenderOptions) -> Image
Draws the current state of graph.
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".