Struct ttf_parser::math::GlyphVariant
source · pub struct GlyphVariant {
pub variant_glyph: GlyphId,
pub advance_measurement: u16,
}
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§
source§impl Clone for GlyphVariant
impl Clone for GlyphVariant
source§fn clone(&self) -> GlyphVariant
fn clone(&self) -> GlyphVariant
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 GlyphVariant
impl Debug for GlyphVariant
source§impl 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§
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