(&self)
| 304 | /// Return `true` only on the frame the button changes from up to down. |
| 305 | #[inline] |
| 306 | pub fn pressed(&self, button: MouseButton) -> bool { |
| 307 | self.ipt.mouse().is_button_pressed(button) |
| 308 | } |
| 309 | |
| 310 | /// Return `true` only on the frame the button changes from down to up. |
| 311 | #[inline] |