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

Method value

consumer/src/node.rs:823–826  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

821 }
822
823 pub fn value(&self) -> Option<String> {
824 let mut result = String::new();
825 self.write_value(&mut result).unwrap().then_some(result)
826 }
827
828 pub fn write_value<W: fmt::Write>(&self, mut writer: W) -> Result<bool, fmt::Error> {
829 if let Some(value) = &self.data().value() {

Callers 10

is_paragraph_endMethod · 0.45
to_global_usv_indexMethod · 0.45
to_global_utf16_indexMethod · 0.45
traverse_textMethod · 0.45
is_empty_text_inputMethod · 0.45
write_valueMethod · 0.45
has_valueMethod · 0.45
raw_valueMethod · 0.45

Calls 1

write_valueMethod · 0.80

Tested by

no test coverage detected