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

Method drag_is_bound

src/controls.rs:150–152  ·  view source on GitHub ↗

Return whether a mouse drag trigger is bound to an action.

(&self, button: mouse::Button, action: DragAction)

Source from the content-addressed store, hash-verified

148
149 /// Return whether a mouse drag trigger is bound to an action.
150 pub fn drag_is_bound(&self, button: mouse::Button, action: DragAction) -> bool {
151 self.drag_action(button) == Some(action)
152 }
153
154 /// Bind a scroll trigger to an action.
155 pub fn bind_scroll(

Callers 1

drag_enabledMethod · 0.80

Calls 1

drag_actionMethod · 0.80

Tested by

no test coverage detected