pub struct TransformParts {
pub origin: Vector2,
pub scale: Vector2,
pub skew: Vector2,
pub rotation: f64,
}
Fields§
§origin: Vector2
§scale: Vector2
§skew: Vector2
§rotation: f64
Trait Implementations§
Source§impl Clone for TransformParts
impl Clone for TransformParts
Source§fn clone(&self) -> TransformParts
fn clone(&self) -> TransformParts
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 TransformParts
impl Debug for TransformParts
Source§impl<F: Space, W: Space> Into<Transform2<F, W>> for TransformParts
impl<F: Space, W: Space> Into<Transform2<F, W>> for TransformParts
Source§fn into(self) -> Transform2<F, W>
fn into(self) -> Transform2<F, W>
Converts this type into the (usually inferred) input type.
Source§impl<F: Space, T: Space> Into<TransformParts> for Transform2<F, T>
NOTE: the returned parts.skew.y will always be equal to 0,
impl<F: Space, T: Space> Into<TransformParts> for Transform2<F, T>
NOTE: the returned parts.skew.y will always be equal to 0,
Source§fn into(self) -> TransformParts
fn into(self) -> TransformParts
Converts this type into the (usually inferred) input type.
Source§impl PartialEq for TransformParts
impl PartialEq for TransformParts
impl StructuralPartialEq for TransformParts
Auto Trait Implementations§
impl Freeze for TransformParts
impl RefUnwindSafe for TransformParts
impl Send for TransformParts
impl Sync for TransformParts
impl Unpin for TransformParts
impl UnwindSafe for TransformParts
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T, U> RoundInto<U> for Twhere
U: RoundFrom<T>,
impl<T, U> RoundInto<U> for Twhere
U: RoundFrom<T>,
Source§fn round_into(self) -> U
fn round_into(self) -> U
Performs the conversion.