[]Trait wgpu_glyph::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>]>, 

Loading content...