pub trait Renderer: Renderer {
// Required methods
fn measure_svg(&self, handle: &Handle) -> Size<u32>;
fn draw_svg(&mut self, svg: Svg, bounds: Rectangle);
}
Expand description
A Renderer
that can render vector graphics.
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.