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

Method value

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

Source from the content-addressed store, hash-verified

584 }
585
586 fn value(&self) -> WideString {
587 if let Some(url) = self.0.supports_url().then(|| self.0.url()).flatten() {
588 let mut result = WideString::default();
589 result.write_str(url).unwrap();
590 return result;
591 }
592 let mut result = WideString::default();
593 self.0.write_value(&mut result).unwrap();
594 result
595 }
596
597 fn is_read_only(&self) -> bool {
598 self.0.is_read_only()

Callers

nothing calls this directly

Calls 4

supports_urlMethod · 0.80
write_valueMethod · 0.80
urlMethod · 0.45
write_strMethod · 0.45

Tested by

no test coverage detected