Expand description
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 SVG.
view_box: ViewBox
SVG viewbox.
Specifies which part of the SVG image should be rendered.
viewBox
and preserveAspectRatio
in SVG.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Svg
impl Send for Svg
impl Sync for Svg
impl Unpin for Svg
impl UnwindSafe for Svg
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more