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

Method set_sync

std/src/gfx/lcd/buffered/mod.rs:364–366  ·  view source on GitHub ↗
(&mut self, enabled: bool)

Source from the content-addressed store, hash-verified

362 }
363
364 fn set_sync(&mut self, enabled: bool) {
365 self.sync = enabled;
366 }
367
368 fn present_canvas(&mut self) -> io::Result<()> {
369 if self.sync { Ok(()) } else { self.force_present_canvas() }

Callers 15

execMethod · 0.45
test_fill_rect_no_syncFunction · 0.45
test_present_canvasFunction · 0.45
test_read_pixels_no_syncFunction · 0.45
test_put_pixels_no_syncFunction · 0.45
test_write_text_no_syncFunction · 0.45
test_write_text_clipFunction · 0.45

Calls

no outgoing calls

Tested by 15

test_fill_rect_no_syncFunction · 0.36
test_present_canvasFunction · 0.36
test_read_pixels_no_syncFunction · 0.36
test_put_pixels_no_syncFunction · 0.36
test_write_text_no_syncFunction · 0.36
test_write_text_clipFunction · 0.36
test_draw_circle_no_syncFunction · 0.36