Enum drag_controller::Drag [] [src]

pub enum Drag {
    Interrupt,
    Start(f64f64),
    Move(f64f64),
    End(f64f64),
}

Describes a drag

Variants

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.

Starts the drag.

Moves the drag.

Ends the drag.

Trait Implementations

impl Copy for Drag
[src]

impl Clone for Drag
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more