pub enum DragMode {
None,
Absolute,
Velocity,
}Expand description
Drag mode for parameter adjustment
Variants§
None
No drag in progress
Absolute
Absolute drag - value jumps to mouse position
Velocity
Velocity drag - value changes based on mouse speed
Trait Implementations§
impl Copy for DragMode
impl Eq for DragMode
impl StructuralPartialEq for DragMode
Auto Trait Implementations§
impl Freeze for DragMode
impl RefUnwindSafe for DragMode
impl Send for DragMode
impl Sync for DragMode
impl Unpin for DragMode
impl UnsafeUnpin for DragMode
impl UnwindSafe for DragMode
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