MCPcopy Create free account
hub / github.com/AccessKit/accesskit / focus_id

Method focus_id

consumer/src/tree.rs:540–542  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

538 }
539
540 pub fn focus_id(&self) -> Option<NodeId> {
541 self.is_host_focused.then_some(self.focus)
542 }
543
544 pub fn focus(&self) -> Option<Node<'_>> {
545 self.focus_id().map(|id| {

Callers 5

focusMethod · 0.80
is_focusedMethod · 0.80
cache_nodeMethod · 0.80
stateMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected