Struct owned_ttf_parser::math::GlyphConstructions
source · pub struct GlyphConstructions<'a> {
coverage: Coverage<'a>,
constructions: LazyOffsetArray16<'a, GlyphConstruction<'a>>,
}
Expand description
A mapping from glyphs to Math Glyph Construction Tables.
Fields§
§coverage: Coverage<'a>
§constructions: LazyOffsetArray16<'a, GlyphConstruction<'a>>
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 moresource§impl Debug for GlyphConstructions<'_>
impl Debug for GlyphConstructions<'_>
impl<'a> Copy for GlyphConstructions<'a>
Auto Trait Implementations§
impl<'a> Freeze for GlyphConstructions<'a>
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§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more