#[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: f64
origin_y: f64
scale_x: f64
scale_y: f64
Implementations
sourceimpl Transformation
impl Transformation
Auto Trait Implementations
impl RefUnwindSafe for Transformation
impl Send for Transformation
impl Sync for Transformation
impl Unpin for Transformation
impl UnwindSafe for Transformation
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more