pub fn from_font(font: rusttype::Font<'a>, factory: F, settings: TextureSettings) -> Self {
        let fnv = BuildHasherDefault::<FnvHasher>::default();
        GlyphCache {
            font: font,
            factory: factory,
            settings: settings,
            texture_packer: TexturePacker::new(),
            data: HashMap::with_hasher(fnv),
        }
    }
/// Constructs a GlyphCache from a Font.
Constructs a GlyphCache from a Font.
Constructs a GlyphCache from a Font .
pub fn from_font(font: rusttype::Font<'a>, factory: F, settings: TextureSettings) -> Self {
        let fnv = BuildHasherDefault::<FnvHasher>::default();
        GlyphCache {
            font: font,
            factory: factory,
            settings: settings,
            texture_packer: TexturePacker::new(),
            data: HashMap::with_hasher(fnv),
        }
    }
pub fn from_font ( font : rusttype :: Font < ' a > , factory : F , settings : TextureSettings ) -> Self { let fnv = BuildHasherDefault :: < FnvHasher > :: default ( ) ; GlyphCache { font : font , factory : factory , settings : settings , texture_packer : TexturePacker :: new ( ) , data : HashMap :: with_hasher ( fnv ) , } }
Constructs a GlyphCache from a Font.
Constructs a GlyphCache from a Font .
font
rusttype::Font<'a>
factory
F
settings
TextureSettings