pub struct TransformParams {
pub scale: [f64; 2],
pub translate: [f64; 2],
}Expand description
Transforms
Fields§
§scale: [f64; 2]§translate: [f64; 2]Implementations§
Trait Implementations§
Source§impl Clone for TransformParams
impl Clone for TransformParams
Source§fn clone(&self) -> TransformParams
fn clone(&self) -> TransformParams
Returns a duplicate of the value. Read more
1.0.0 · 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 TransformParams
impl Debug for TransformParams
Source§impl<'de> Deserialize<'de> for TransformParams
impl<'de> Deserialize<'de> for TransformParams
Source§fn deserialize<D>(deserializer: D) -> Result<TransformParams, D::Error>where
D: Deserializer<'de>,
fn deserialize<D>(deserializer: D) -> Result<TransformParams, D::Error>where
D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for TransformParams
impl PartialEq for TransformParams
Source§impl Serialize for TransformParams
impl Serialize for TransformParams
impl StructuralPartialEq for TransformParams
Auto Trait Implementations§
impl Freeze for TransformParams
impl RefUnwindSafe for TransformParams
impl Send for TransformParams
impl Sync for TransformParams
impl Unpin for TransformParams
impl UnwindSafe for TransformParams
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