MCPcopy Create free account
hub / github.com/donkeyteethUX/iced_plot / get_drag_event

Method get_drag_event

src/message.rs:33–39  ·  view source on GitHub ↗

Get the drag event from the render update.

(&self)

Source from the content-addressed store, hash-verified

31
32 /// Get the drag event from the render update.
33 pub fn get_drag_event(&self) -> Option<DragEvent> {
34 if let PlotUiMessage::RenderUpdate(update) = self {
35 update.drag_event
36 } else {
37 None
38 }
39 }
40}
41
42/// Context passed to hover/pick highlight callbacks.

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected