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

Method is_toggle_pattern_supported

platforms/windows/src/node.rs:559–561  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

557 }
558
559 fn is_toggle_pattern_supported(&self) -> bool {
560 self.0.toggled().is_some() && !self.is_selection_item_pattern_supported()
561 }
562
563 fn toggle_state(&self) -> ToggleState {
564 match self.0.toggled().unwrap() {

Callers

nothing calls this directly

Calls 2

toggledMethod · 0.80

Tested by

no test coverage detected