Struct usvg::ViewBox
[−]
[src]
pub struct ViewBox { pub rect: Rect, pub aspect: AspectRatio, }
View box.
Fields
rect: Rect
Value of the viewBox
attribute.
aspect: AspectRatio
Value of the preserveAspectRatio
attribute.
Trait Implementations
impl Clone for ViewBox
[src]
fn clone(&self) -> ViewBox
[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
impl Copy for ViewBox
[src]
impl PartialEq for ViewBox
[src]
fn eq(&self, __arg_0: &ViewBox) -> bool
[src]
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &ViewBox) -> bool
[src]
This method tests for !=
.