pub trait Display {
// Required methods
fn set_pixel(&mut self, x: usize, y: usize);
fn write_str(&mut self, str: &str);
fn reset(&mut self);
}
Expand description
Provides a basic set of operations for interacting with a display.
Required Methods§
sourcefn set_pixel(&mut self, x: usize, y: usize)
fn set_pixel(&mut self, x: usize, y: usize)
Sets a single pixel on the display to a specified coordinates.