MCPcopy Create free account
hub / github.com/TheRedDeveloper/ply-engine / clear_focus

Method clear_focus

src/engine.rs:5791–5793  ·  view source on GitHub ↗

Clears focus (no element is focused).

(&mut self)

Source from the content-addressed store, hash-verified

5789
5790 /// Clears focus (no element is focused).
5791 pub fn clear_focus(&mut self) {
5792 self.change_focus(0);
5793 }
5794
5795 /// Internal: changes focus, firing on_unfocus on old and on_focus on new.
5796 pub(crate) fn change_focus(&mut self, new_id: u32) {

Callers

nothing calls this directly

Calls 1

change_focusMethod · 0.80

Tested by

no test coverage detected