Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/endbasic/endbasic
/ set_draw_color
Method
set_draw_color
std/src/gfx/lcd/buffered/mod.rs:353–355 ·
view source on GitHub ↗
(&mut self, color: RGB)
Source
from the content-addressed store, hash-verified
351
}
352
353
fn set_draw_color(&mut self, color: RGB) {
354
self.draw_color = self.lcd.encode(color);
355
}
356
357
fn clear(&mut self) -> io::Result<()> {
358
self.fill(
Callers
15
drop
Method · 0.45
test_damage_extend_right_down
Function · 0.45
test_damage_extend_up_left
Function · 0.45
test_fill_one_pixel_sync
Function · 0.45
test_fill_one_pixel_no_sync
Function · 0.45
test_fill_rect_sync
Function · 0.45
test_fill_rect_no_sync
Function · 0.45
test_force_present_canvas_damage
Function · 0.45
test_clear
Function · 0.45
test_present_canvas
Function · 0.45
test_read_pixels_sync
Function · 0.45
test_read_pixels_no_sync
Function · 0.45
Calls
1
encode
Method · 0.45
Tested by
15
test_damage_extend_right_down
Function · 0.36
test_damage_extend_up_left
Function · 0.36
test_fill_one_pixel_sync
Function · 0.36
test_fill_one_pixel_no_sync
Function · 0.36
test_fill_rect_sync
Function · 0.36
test_fill_rect_no_sync
Function · 0.36
test_force_present_canvas_damage
Function · 0.36
test_clear
Function · 0.36
test_present_canvas
Function · 0.36
test_read_pixels_sync
Function · 0.36
test_read_pixels_no_sync
Function · 0.36
test_write_text_sync
Function · 0.36