[][src]Trait ssd1306::mode::terminal::CharacterBitmap

pub trait CharacterBitmap<T> {
    fn to_bitmap(input: T) -> [u8; 8];
}

A trait to convert from a character to 8x8 bitmap

Required methods

fn to_bitmap(input: T) -> [u8; 8]

Turn input of type T into a displayable 8x8 bitmap

Loading content...

Implementors

impl<DI> CharacterBitmap<char> for TerminalMode<DI> where
    DI: DisplayInterface
[src]

A 7x7 font shamelessly borrowed from https://github.com/techninja/MarioChron/

Loading content...