Trait font8x8::unicode::UnicodeFonts [−][src]
pub trait UnicodeFonts { fn get(&self, key: char) -> Option<[u8; 8]>; fn get_font(&self, key: char) -> Option<FontUnicode>; fn print_set(&self); fn to_vec(&self) -> Vec<(char, FontUnicode)>; }
A trait for collections of FontUnicode
, which provide methods for retrieving
the [u8; 8]
by key, using the corresponding Unicode value, encoded as UTF-16 (u16
).
Required Methods
fn get(&self, key: char) -> Option<[u8; 8]>
fn get_font(&self, key: char) -> Option<FontUnicode>
fn print_set(&self)
fn to_vec(&self) -> Vec<(char, FontUnicode)>
Implementors
impl UnicodeFonts for BasicFonts
impl UnicodeFonts for BlockFonts
impl UnicodeFonts for BoxFonts
impl UnicodeFonts for GreekFonts
impl UnicodeFonts for HiraganaFonts
impl UnicodeFonts for LatinFonts
impl UnicodeFonts for MiscFonts
impl UnicodeFonts for SgaFonts