MCPcopy Create free account
hub / github.com/algoscienceacademy/RustUI / clear

Method clear

src/renderer/default.rs:47–51  ·  view source on GitHub ↗
(&mut self, color: Color)

Source from the content-addressed store, hash-verified

45
46impl Renderer for DefaultRenderer {
47 fn clear(&mut self, color: Color) {
48 let size = self.get_platform_size();
49 // TODO: Implement clear with color and size
50 let _ = (color, size); // Temporarily silence warnings
51 }
52
53 fn begin_group(&mut self, style: &Style) {
54 let size = self.get_platform_size();

Callers

nothing calls this directly

Calls 1

get_platform_sizeMethod · 0.80

Tested by

no test coverage detected