os_terminal

Trait DrawTarget

Source
pub trait DrawTarget {
    // Required methods
    fn size(&self) -> (usize, usize);
    fn draw_pixel(&mut self, x: usize, y: usize, color: Rgb);
}

Required Methods§

Source

fn size(&self) -> (usize, usize)

Source

fn draw_pixel(&mut self, x: usize, y: usize, color: Rgb)

Implementors§