(&self, button: MouseButton)
| 249 | /// Return `true` while the button is held. |
| 250 | #[inline] |
| 251 | pub fn is_button_down(&self, button: MouseButton) -> bool { |
| 252 | self.down & button.bit() != 0 |
| 253 | } |
| 254 | |
| 255 | /// Return `true` only on the frame the button changes from up to down. |
| 256 | #[inline] |
no test coverage detected