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

Method interfaces

platforms/atspi-common/src/node.rs:457–478  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

455 }
456
457 pub(crate) fn interfaces(&self) -> InterfaceSet {
458 let mut interfaces = InterfaceSet::new(Interface::Accessible);
459 if self.supports_action() {
460 interfaces.insert(Interface::Action);
461 }
462 if self.supports_component() {
463 interfaces.insert(Interface::Component);
464 }
465 if self.supports_hyperlink() {
466 interfaces.insert(Interface::Hyperlink);
467 }
468 if self.supports_selection() {
469 interfaces.insert(Interface::Selection);
470 }
471 if self.supports_text() {
472 interfaces.insert(Interface::Text);
473 }
474 if self.supports_value() {
475 interfaces.insert(Interface::Value);
476 }
477 interfaces
478 }
479
480 pub(crate) fn live(&self) -> Politeness {
481 let live = self.0.live();

Callers 8

get_interfacesMethod · 0.80
application_cache_itemFunction · 0.80
add_nodeMethod · 0.80
remove_nodeMethod · 0.80
node_updatedMethod · 0.80
add_childrenMethod · 0.80
register_treeMethod · 0.80
cache_nodeMethod · 0.80

Calls 8

NodeWrapperClass · 0.70
supports_actionMethod · 0.45
supports_componentMethod · 0.45
supports_hyperlinkMethod · 0.45
supports_selectionMethod · 0.45
supports_textMethod · 0.45
supports_valueMethod · 0.45
resolveMethod · 0.45

Tested by

no test coverage detected