MCPcopy Create free account
hub / github.com/PerroEngine/Perro / viewport_size

Method viewport_size

perro_source/api_modules/perro_input_api/src/window.rs:300–302  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

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]

Callers

nothing calls this directly

Calls 1

mouseMethod · 0.80

Tested by

no test coverage detected