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

Method clear

std/src/gfx/lcd/buffered/mod.rs:357–362  ·  view source on GitHub ↗
(&mut self)

Source from the content-addressed store, hash-verified

355 }
356
357 fn clear(&mut self) -> io::Result<()> {
358 self.fill(
359 LcdXY { x: 0, y: 0 },
360 LcdXY { x: self.size_pixels.width - 1, y: self.size_pixels.height - 1 },
361 )
362 }
363
364 fn set_sync(&mut self, enabled: bool) {
365 self.sync = enabled;

Callers 3

fillMethod · 0.45
dropMethod · 0.45
test_clearFunction · 0.45

Calls 1

fillMethod · 0.80

Tested by 1

test_clearFunction · 0.36