Struct webrender_api::ZoomFactor
[−]
[src]
pub struct ZoomFactor(_);
Represents a zoom factor.
Methods
impl ZoomFactor
[src]
pub fn new(scale: f32) -> ZoomFactor
[src]
Construct a new zoom factor.
pub fn get(&self) -> f32
[src]
Get the zoom factor as an untyped float.
Trait Implementations
impl Clone for ZoomFactor
[src]
fn clone(&self) -> ZoomFactor
[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