Enum drag_controller::Drag
[−]
[src]
pub enum Drag { Interrupt, Start(f64, f64), Move(f64, f64), End(f64, f64), }
Describes a drag
Variants
Interrupt
When the drag is interrupted by something, for example when the window is defocused. By returning true, the drag will continue when the window retrieves focus.
Start(f64, f64)
Starts the drag.
Move(f64, f64)
Moves the drag.
End(f64, f64)
Ends the drag.
Trait Implementations
impl Copy for Drag
[src]
impl Clone for Drag
[src]
fn clone(&self) -> Drag
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more