1 2 3 4 5 6 7 8
use Result; use glyph::Glyph; /// A collection of glyphs. pub trait Case { /// Draw a glyph. fn draw(&self, char) -> Result<Option<Glyph>>; }
1 2 3 4 5 6 7 8
use Result; use glyph::Glyph; /// A collection of glyphs. pub trait Case { /// Draw a glyph. fn draw(&self, char) -> Result<Option<Glyph>>; }