pub struct ScaleTransform {
pub scale_x: f64,
pub scale_y: f64,
pub translate_x: f64,
pub translate_y: f64,
}Expand description
MPSScaleTransform values used by resampling kernels.
Fields§
§scale_x: f64§scale_y: f64§translate_x: f64§translate_y: f64Trait Implementations§
Source§impl Clone for ScaleTransform
impl Clone for ScaleTransform
Source§fn clone(&self) -> ScaleTransform
fn clone(&self) -> ScaleTransform
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ScaleTransform
impl Debug for ScaleTransform
impl Copy for ScaleTransform
Auto Trait Implementations§
impl Freeze for ScaleTransform
impl RefUnwindSafe for ScaleTransform
impl Send for ScaleTransform
impl Sync for ScaleTransform
impl Unpin for ScaleTransform
impl UnsafeUnpin for ScaleTransform
impl UnwindSafe for ScaleTransform
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