Function console_engine::pixel::pxl[][src]

pub fn pxl(value: char) -> Pixel

Generate a pixel using a character
Foreground color is always White.
Background color is always black.

usage:

use console_engine::pixel;
// ...
engine.set_pxl(0,0,pixel::pxl('X'));