#[repr(C)]
pub struct Transformation { pub origin_x: f64, pub origin_y: f64, pub scale_x: f64, pub scale_y: f64, }
Expand description

Translate and then scale

Fields

origin_x: f64origin_y: f64scale_x: f64scale_y: f64

Implementations

Applies the new transformation after this one

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.