Enum egui_gizmo::GizmoOrientation
source · pub enum GizmoOrientation {
Global,
Local,
}
Variants§
Global
Transformation axes are aligned to world space. Rotation of the gizmo does not change.
Local
Transformation axes are aligned to local space. Rotation of the gizmo matches the rotation represented by the model matrix.
Trait Implementations§
source§impl Clone for GizmoOrientation
impl Clone for GizmoOrientation
source§fn clone(&self) -> GizmoOrientation
fn clone(&self) -> GizmoOrientation
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 GizmoOrientation
impl Debug for GizmoOrientation
source§impl PartialEq for GizmoOrientation
impl PartialEq for GizmoOrientation
source§fn eq(&self, other: &GizmoOrientation) -> bool
fn eq(&self, other: &GizmoOrientation) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for GizmoOrientation
impl Eq for GizmoOrientation
impl StructuralPartialEq for GizmoOrientation
Auto Trait Implementations§
impl Freeze for GizmoOrientation
impl RefUnwindSafe for GizmoOrientation
impl Send for GizmoOrientation
impl Sync for GizmoOrientation
impl Unpin for GizmoOrientation
impl UnwindSafe for GizmoOrientation
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