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

Method toggle_state

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

Source from the content-addressed store, hash-verified

561 }
562
563 fn toggle_state(&self) -> ToggleState {
564 match self.0.toggled().unwrap() {
565 Toggled::False => ToggleState_Off,
566 Toggled::True => ToggleState_On,
567 Toggled::Mixed => ToggleState_Indeterminate,
568 }
569 }
570
571 fn is_invoke_pattern_supported(&self) -> bool {
572 self.0.is_invocable(&filter)

Callers

nothing calls this directly

Calls 1

toggledMethod · 0.80

Tested by

no test coverage detected