[][src]Trait glyph_brush::FontMap

pub trait FontMap<'font> {
    fn font(&self, id: FontId) -> &Font<'font>;
}

Mapper of FontId -> Font

Required methods

fn font(&self, id: FontId) -> &Font<'font>

Loading content...

Implementors

impl<'font, T> FontMap<'font> for T where
    T: AsRef<[Font<'font>]>, 
[src]

Loading content...