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