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 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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)source§impl<T> CloneToUninit for Twhere
T: Copy,
impl<T> CloneToUninit for Twhere
T: Copy,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)