Struct ttf_parser::math::GlyphConstructions
source · pub struct GlyphConstructions<'a> { /* private fields */ }Expand description
A mapping from glyphs to Math Glyph Construction Tables.
Implementations§
source§impl<'a> GlyphConstructions<'a>
impl<'a> GlyphConstructions<'a>
sourcepub fn get(&self, glyph: GlyphId) -> Option<GlyphConstruction<'a>>
pub fn get(&self, glyph: GlyphId) -> Option<GlyphConstruction<'a>>
Returns the construction for the glyph or None if it is not covered.
Trait Implementations§
source§impl<'a> Clone for GlyphConstructions<'a>
impl<'a> Clone for GlyphConstructions<'a>
source§fn clone(&self) -> GlyphConstructions<'a>
fn clone(&self) -> GlyphConstructions<'a>
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read more