Trait leaflet::DragEvents
source · pub trait DragEventswhere
Self: LeafletEventHandler,{
// Provided methods
fn on_drag_start(&self, callback: Box<dyn Fn(Event)>) { ... }
fn on_move_start(&self, callback: Box<dyn Fn(Event)>) { ... }
fn on_drag(&self, callback: Box<dyn Fn(Event)>) { ... }
fn on_drag_end(&self, callback: Box<dyn Fn(DragEndEvent)>) { ... }
fn on_move_end(&self, callback: Box<dyn Fn(Event)>) { ... }
}