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

Method scroll_is_bound

src/controls.rs:183–185  ·  view source on GitHub ↗

Return whether a scroll trigger is bound to an action.

(&self, modifiers: keyboard::Modifiers, action: ScrollAction)

Source from the content-addressed store, hash-verified

181
182 /// Return whether a scroll trigger is bound to an action.
183 pub fn scroll_is_bound(&self, modifiers: keyboard::Modifiers, action: ScrollAction) -> bool {
184 self.scroll.get(&modifiers).copied() == Some(action)
185 }
186
187 /// Bind a mouse click trigger to an action.
188 pub fn bind_click(&mut self, button: mouse::Button, action: ClickAction) -> &mut Self {

Callers 1

scroll_enabledMethod · 0.80

Calls 1

getMethod · 0.80

Tested by

no test coverage detected