pub enum Transformation {
Transform(Transform),
Translation(Translation),
Rotation(Rotation),
Scale(Scale),
}Expand description
Helper enum to contain all different kinds of Transformations.
Variants§
Transform(Transform)
A Transform structure.
Translation(Translation)
A Translation structure.
Rotation(Rotation)
A Rotation structure.
Scale(Scale)
A Scale structure.
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