Struct drag_controller::DragController
source · Expand description
Controls dragging.
Fields§
§drag: boolWhether to drag or not.
pos: [f64; 2]The current positon of dragging.
Implementations§
source§impl DragController
impl DragController
sourcepub fn new() -> DragController
pub fn new() -> DragController
Creates a new drag controller.
Trait Implementations§
source§impl Clone for DragController
impl Clone for DragController
source§fn clone(&self) -> DragController
fn clone(&self) -> DragController
Returns a copy 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 more