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

Method set_mouse_position

perro_source/render_stack/perro_app/src/lib.rs:285–287  ·  view source on GitHub ↗
(&mut self, x: f32, y: f32)

Source from the content-addressed store, hash-verified

283 #[inline]
284 pub fn set_key_state(&mut self, key: KeyCode, is_down: bool) {
285 self.runtime.set_key_state(key, is_down);
286 }
287
288 #[inline]
289 pub fn push_text_input(&mut self, text: impl Into<String>) {
290 self.runtime.push_text_input(text);

Callers 3

sync_window_positionMethod · 0.45
window_eventMethod · 0.45
handle_window_eventMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected