#[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§
Auto Trait Implementations§
impl Freeze for Transformation
impl RefUnwindSafe for Transformation
impl Send for Transformation
impl Sync for Transformation
impl Unpin for Transformation
impl UnwindSafe for Transformation
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more