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

Function xy

std/src/gfx/lcd/buffered/testutils.rs:36–38  ·  view source on GitHub ↗

Syntactic sugar to instantiate a coordinate in the LCD space.

(x: usize, y: usize)

Source from the content-addressed store, hash-verified

34
35/// Syntactic sugar to instantiate a coordinate in the LCD space.
36pub(super) fn xy(x: usize, y: usize) -> LcdXY {
37 LcdXY { x, y }
38}
39
40/// Syntactic sugar to instantiate a size in the LCD space.
41pub(super) fn size(width: usize, height: usize) -> LcdSize {

Callers 15

test_fill_one_pixel_syncFunction · 0.70
test_fill_rect_syncFunction · 0.70
test_fill_rect_no_syncFunction · 0.70
test_present_canvasFunction · 0.70
test_read_pixels_syncFunction · 0.70
test_read_pixels_no_syncFunction · 0.70
test_put_pixels_syncFunction · 0.70
test_put_pixels_no_syncFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected