Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
focus
Method · 0.80
is_focused
Method · 0.80
cache_node
Method · 0.80
state
Method · 0.80
map_descendant_cache_nodes
Method · 0.80
Calls
no outgoing calls
Tested by
no test coverage detected