pub enum HandleDrag {
Rotate {
ring: Ring,
grab: Vec3,
},
Translate {
shaft: Shaft,
grab: f32,
},
}Expand description
Anchored at the press, so a widget following the subject does not chase its own drag.
Variants§
Implementations§
Trait Implementations§
Source§impl Clone for HandleDrag
impl Clone for HandleDrag
Source§fn clone(&self) -> HandleDrag
fn clone(&self) -> HandleDrag
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 HandleDrag
impl Debug for HandleDrag
Source§impl PartialEq for HandleDrag
impl PartialEq for HandleDrag
impl Copy for HandleDrag
impl StructuralPartialEq for HandleDrag
Auto Trait Implementations§
impl Freeze for HandleDrag
impl RefUnwindSafe for HandleDrag
impl Send for HandleDrag
impl Sync for HandleDrag
impl Unpin for HandleDrag
impl UnsafeUnpin for HandleDrag
impl UnwindSafe for HandleDrag
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