pub enum DragPhase {
Start,
Move,
End,
}Expand description
Where a Drag is.
Variants§
Start
The drag began: the held left button moved past the threshold, or went down on a button that only drags.
Move
The pointer moved while dragging.
End
The drag ended: the button came up, the pointer left the window, or the button was disabled.
Trait Implementations§
impl Copy for DragPhase
impl Eq for DragPhase
impl StructuralPartialEq for DragPhase
Auto Trait Implementations§
impl Forget for DragPhase
impl Freeze for DragPhase
impl Move for DragPhase
impl RefUnwindSafe for DragPhase
impl Send for DragPhase
impl Sync for DragPhase
impl Unpin for DragPhase
impl UnsafeUnpin for DragPhase
impl UnwindSafe for DragPhase
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