Return whether a mouse click trigger is bound to an action.
(&self, button: mouse::Button, action: ClickAction)
| 202 | |
| 203 | /// Return whether a mouse click trigger is bound to an action. |
| 204 | pub fn click_is_bound(&self, button: mouse::Button, action: ClickAction) -> bool { |
| 205 | self.click_action(button) == Some(action) |
| 206 | } |
| 207 | |
| 208 | /// Bind a mouse double-click trigger to an action. |
| 209 | pub fn bind_double_click(&mut self, button: mouse::Button, action: ClickAction) -> &mut Self { |
no test coverage detected