Struct resvg::ScreenSize [−][src]
pub struct ScreenSize { /* fields omitted */ }
Expand description
A 2D screen size representation.
Width and height are guarantee to be > 0.
Implementations
Scales current size to specified size.
Expands current size to specified size.
Fits size into a viewbox.
Trait Implementations
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for ScreenSize
impl Send for ScreenSize
impl Sync for ScreenSize
impl Unpin for ScreenSize
impl UnwindSafe for ScreenSize
Blanket Implementations
Mutably borrows from an owned value. Read more