Struct ttf_parser::math::GlyphConstructions
source · [−]pub struct GlyphConstructions<'a> { /* private fields */ }
Expand description
A mapping from glyphs to Math Glyph Construction Tables.
Implementations
sourceimpl<'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
sourceimpl<'a> Clone for GlyphConstructions<'a>
impl<'a> Clone for GlyphConstructions<'a>
sourcefn clone(&self) -> GlyphConstructions<'a>
fn clone(&self) -> GlyphConstructions<'a>
Returns a copy of the value. Read more
1.0.0 · sourceconst fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for GlyphConstructions<'_>
impl Debug for GlyphConstructions<'_>
impl<'a> Copy for GlyphConstructions<'a>
Auto Trait Implementations
impl<'a> RefUnwindSafe for GlyphConstructions<'a>
impl<'a> Send for GlyphConstructions<'a>
impl<'a> Sync for GlyphConstructions<'a>
impl<'a> Unpin for GlyphConstructions<'a>
impl<'a> UnwindSafe for GlyphConstructions<'a>
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more