pub struct GlyphPos {
pub id: u32,
pub x: f32,
pub y: f32,
}Expand description
GlyphPos identifies and positions one glyph within a glyph run.
Fields§
§id: u32id is the glyph identifier in the run’s font.
x: f32x is the glyph’s local horizontal position in pixels.
y: f32y is the glyph’s local baseline position in pixels.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for GlyphPos
impl RefUnwindSafe for GlyphPos
impl Send for GlyphPos
impl Sync for GlyphPos
impl Unpin for GlyphPos
impl UnsafeUnpin for GlyphPos
impl UnwindSafe for GlyphPos
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