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 Freeze for GlyphVariant
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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
)