Struct usvg::ViewBox [−][src]
pub struct ViewBox {
pub rect: Rect,
pub aspect: AspectRatio,
}
Expand description
View box.
Fields
rect: Rect
Value of the viewBox
attribute.
aspect: AspectRatio
Value of the preserveAspectRatio
attribute.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for ViewBox
impl UnwindSafe for ViewBox
Blanket Implementations
Mutably borrows from an owned value. Read more