MCPcopy Index your code
hub / github.com/endbasic/endbasic / write

Method write

std/src/testutils.rs:346–351  ·  view source on GitHub ↗
(&mut self, text: &str)

Source from the content-addressed store, hash-verified

344 }
345
346 fn write(&mut self, text: &str) -> io::Result<()> {
347 let text = remove_control_chars(text.to_owned());
348
349 self.captured_out.push(CapturedOut::Write(text));
350 Ok(())
351 }
352
353 fn bucket_fill(&mut self, xy: PixelsXY) -> io::Result<()> {
354 self.captured_out.push(CapturedOut::BucketFill(xy));

Callers

nothing calls this directly

Calls 2

remove_control_charsFunction · 0.85
pushMethod · 0.80

Tested by

no test coverage detected