pub enum GizmoPart {
Free,
Move(Axis),
Plane(Axis),
Turn(Axis),
Stretch(Axis),
Scale,
}Expand description
A part of a gizmo, to hover and drag: by its axis.
Variants§
Free
The ball at the centre: moving freely, in the plane facing the eye.
Move(Axis)
An arrow: moving along its axis.
Plane(Axis)
The square in the plane normal to an axis: moving in that plane.
Turn(Axis)
A ring: turning about its axis.
Stretch(Axis)
A cube beyond an arrow: scaling along its axis.
Scale
The cube on the diagonal: scaling evenly.
Trait Implementations§
impl Copy for GizmoPart
impl Eq for GizmoPart
impl StructuralPartialEq for GizmoPart
Auto Trait Implementations§
impl Freeze for GizmoPart
impl RefUnwindSafe for GizmoPart
impl Send for GizmoPart
impl Sync for GizmoPart
impl Unpin for GizmoPart
impl UnsafeUnpin for GizmoPart
impl UnwindSafe for GizmoPart
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