pub trait Svg {
// Required method
fn viewport_dimensions(&self, handle: &Handle) -> Size<u32>;
}
Expand description
A graphics backend that supports SVG rendering.
Required Methods§
sourcefn viewport_dimensions(&self, handle: &Handle) -> Size<u32>
fn viewport_dimensions(&self, handle: &Handle) -> Size<u32>
Returns the viewport dimensions of the provided SVG.