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

Method write_text

consumer/src/text.rs:719–725  ·  view source on GitHub ↗
(&self, mut writer: W)

Source from the content-addressed store, hash-verified

717 }
718
719 pub fn write_text<W: fmt::Write>(&self, mut writer: W) -> fmt::Result {
720 if let Some(err) = self.traverse_text(|_, s| writer.write_str(s).err()) {
721 Err(err)
722 } else {
723 Ok(())
724 }
725 }
726
727 pub fn text(&self) -> String {
728 let mut result = String::new();

Callers 3

textMethod · 0.80
write_valueMethod · 0.80
GetTextMethod · 0.80

Calls 2

traverse_textMethod · 0.45
write_strMethod · 0.45

Tested by

no test coverage detected