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

Method controls

consumer/src/node.rs:940–947  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

938 }
939
940 pub fn controls(&self) -> impl DoubleEndedIterator<Item = Node<'a>> + use<'a> {
941 let state = self.tree_state;
942 let id = self.id;
943 let data = &self.state.data;
944 data.controls()
945 .iter()
946 .map(move |control_id| state.node_by_id(id.with_same_tree(*control_id)).unwrap())
947 }
948
949 pub fn active_descendant(&self) -> Option<Node<'a>> {
950 self.state

Callers 2

relation_setMethod · 0.80
GetPropertyValueMethod · 0.80

Calls 3

mapMethod · 0.80
node_by_idMethod · 0.80
with_same_treeMethod · 0.80

Tested by

no test coverage detected