pub struct Glyph {
pub advance: f32,
pub shadow_offset: f32,
pub bold_offset: f32,
pub bitmap: Option<GlyphBitmap>,
}Expand description
One glyph’s metrics and (unless it’s blank) its bitmap.
Fields§
§advance: f32Pen advance in GUI pixels.
shadow_offset: f32§bold_offset: f32§bitmap: Option<GlyphBitmap>Auto Trait Implementations§
impl Freeze for Glyph
impl RefUnwindSafe for Glyph
impl Send for Glyph
impl Sync for Glyph
impl Unpin for Glyph
impl UnsafeUnpin for Glyph
impl UnwindSafe for Glyph
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