Struct ttf_parser::math::GlyphVariant
source · [−]Expand description
Description of math glyph variants.
Fields
variant_glyph: GlyphId
The ID of the variant glyph.
advance_measurement: u16
Advance width/height, in design units, of the variant glyph.
Trait Implementations
sourceimpl Clone for GlyphVariant
impl Clone for GlyphVariant
sourcefn clone(&self) -> GlyphVariant
fn clone(&self) -> GlyphVariant
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 GlyphVariant
impl Debug for GlyphVariant
sourceimpl FromData for GlyphVariant
impl FromData for GlyphVariant
impl Copy for GlyphVariant
Auto Trait Implementations
impl RefUnwindSafe for GlyphVariant
impl Send for GlyphVariant
impl Sync for GlyphVariant
impl Unpin for GlyphVariant
impl UnwindSafe for GlyphVariant
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