Enum resvg::FitTo
[−]
[src]
pub enum FitTo { Original, Width(u32), Height(u32), Zoom(f32), }
Image fit options.
Variants
Original
Keep original size.
Width(u32)
Scale to width.
Height(u32)
Scale to height.
Zoom(f32)
Zoom by factor.
Trait Implementations
impl Clone for FitTo
[src]
fn clone(&self) -> FitTo
[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 FitTo
[src]
impl PartialEq for FitTo
[src]
fn eq(&self, __arg_0: &FitTo) -> bool
[src]
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &FitTo) -> bool
[src]
This method tests for !=
.