(&self)
| 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(); |
no test coverage detected