Struct usvg::Svg [] [src]

pub struct Svg {
    pub size: Size,
    pub view_box: ViewBox,
}

An SVG root element.

Fields

Image size.

Size of an image that should be created to fit the SVG.

width and height in the SVG.

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]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Copy for Svg
[src]

impl Debug for Svg
[src]

[src]

Formats the value using the given formatter. Read more

Auto Trait Implementations

impl Send for Svg

impl Sync for Svg