Struct usvg::ViewBox[][src]

pub struct ViewBox {
    pub rect: Rect,
    pub aspect: AspectRatio,
}

View box.

Fields

Value of the viewBox attribute.

Value of the preserveAspectRatio attribute.

Trait Implementations

impl Clone for ViewBox
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Copy for ViewBox
[src]

impl PartialEq for ViewBox
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl Debug for ViewBox
[src]

Formats the value using the given formatter. Read more

Auto Trait Implementations

impl Send for ViewBox

impl Sync for ViewBox