Struct usvg::tree::Svg
[−]
[src]
pub struct Svg { pub size: Size, pub view_box: ViewBox, }
An SVG root element.
Fields
size: Size
Image size.
Size of an image that should be created to fit the SVG.
width
and height
in the SVG.
view_box: ViewBox
SVG viewbox.
Specifies which part of the SVG image should be rendered.
viewBox
and preserveAspectRatio
in the SVG.
Trait Implementations
impl Clone for Svg
[src]
fn clone(&self) -> Svg
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more