Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/endbasic/endbasic
/ encode
Method
encode
std/src/gfx/lcd/buffered/tests.rs:257–259 ·
view source on GitHub ↗
(&self, rgb: RGB)
Source
from the content-addressed store, hash-verified
255
}
256
257
fn encode(&self, rgb: RGB) -> Self::Pixel {
258
LossyPixel([rgb.0 >> 4])
259
}
260
261
fn set_data(&mut self, _x1y1: LcdXY, _x2y2: LcdXY, _data: &[u8]) -> io::Result<()> {
262
Ok(())
Callers
2
new
Method · 0.45
set_draw_color
Method · 0.45
Calls
1
LossyPixel
Class · 0.85
Tested by
no test coverage detected