Enum transform_gizmo::gizmo::GizmoResult
source · pub enum GizmoResult {
Rotation {
delta: Quaternion<f64>,
total: Quaternion<f64>,
},
Translation {
delta: Vector3<f64>,
total: Vector3<f64>,
},
Scale {
total: Vector3<f64>,
},
}
Expand description
Result of a gizmo transformation
Variants§
Rotation
Fields
§
delta: Quaternion<f64>
The latest rotation delta
§
total: Quaternion<f64>
Total rotation of the gizmo interaction
Translation
Fields
Scale
Trait Implementations§
source§impl Clone for GizmoResult
impl Clone for GizmoResult
source§fn clone(&self) -> GizmoResult
fn clone(&self) -> GizmoResult
Returns a copy 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 GizmoResult
impl Debug for GizmoResult
impl Copy for GizmoResult
Auto Trait Implementations§
impl Freeze for GizmoResult
impl RefUnwindSafe for GizmoResult
impl Send for GizmoResult
impl Sync for GizmoResult
impl Unpin for GizmoResult
impl UnwindSafe for GizmoResult
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