[][src]Struct azul_webrender_api::ZoomFactor

pub struct ZoomFactor(_);

Represents a zoom factor.

Implementations

impl ZoomFactor[src]

pub fn new(scale: f32) -> Self[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]

impl Copy for ZoomFactor[src]

impl Debug for ZoomFactor[src]

impl<'de> Deserialize<'de> for ZoomFactor[src]

impl Serialize for ZoomFactor[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.