pub struct GlyphInfo {
pub span: u16,
pub ch: char,
pub origin: Point,
}Expand description
Where a glyph came from.
Fields§
§span: u16Index of the span (0 for plain text).
ch: charFirst character of the glyph’s cluster.
origin: PointPen position of the glyph (baseline origin).
Trait Implementations§
impl Copy for GlyphInfo
impl StructuralPartialEq for GlyphInfo
Auto Trait Implementations§
impl Freeze for GlyphInfo
impl RefUnwindSafe for GlyphInfo
impl Send for GlyphInfo
impl Sync for GlyphInfo
impl Unpin for GlyphInfo
impl UnsafeUnpin for GlyphInfo
impl UnwindSafe for GlyphInfo
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