pub trait Svg {
    // Required method
    fn viewport_dimensions(&self, handle: &Handle) -> Size<u32>;
}
Expand description

A graphics backend that supports SVG rendering.

Required Methods§

source

fn viewport_dimensions(&self, handle: &Handle) -> Size<u32>

Returns the viewport dimensions of the provided SVG.

Implementors§