Return whether a mouse double-click trigger is bound to an action.
(&self, button: mouse::Button, action: ClickAction)
| 223 | |
| 224 | /// Return whether a mouse double-click trigger is bound to an action. |
| 225 | pub fn double_click_is_bound(&self, button: mouse::Button, action: ClickAction) -> bool { |
| 226 | self.double_click_action(button) == Some(action) |
| 227 | } |
| 228 | |
| 229 | /// Bind a key trigger to an action. |
| 230 | pub fn bind_key(&mut self, key: keyboard::Key, action: KeyAction) -> &mut Self { |
no test coverage detected