(&self, button: MouseButton)
| 255 | /// Return `true` only on the frame the button changes from up to down. |
| 256 | #[inline] |
| 257 | pub fn is_button_pressed(&self, button: MouseButton) -> bool { |
| 258 | self.pressed & button.bit() != 0 |
| 259 | } |
| 260 | |
| 261 | /// Return `true` only on the frame the button changes from down to up. |
| 262 | #[inline] |
no test coverage detected