(&self)
| 298 | /// Return `true` while the button is held. |
| 299 | #[inline] |
| 300 | pub fn down(&self, button: MouseButton) -> bool { |
| 301 | self.ipt.mouse().is_button_down(button) |
| 302 | } |
| 303 | |
| 304 | /// Return `true` only on the frame the button changes from up to down. |
| 305 | #[inline] |