pub struct Glyph {
pub line: usize,
pub x: [f32; 2],
pub space: bool,
}Expand description
A grapheme cluster of the laid-out text: [x0, x1] along its line, in text box px.
Fields§
§line: usize§x: [f32; 2]§space: boolWhitespace (ends a word).
Trait Implementations§
impl Copy for Glyph
impl StructuralPartialEq for Glyph
Auto Trait Implementations§
impl Forget for Glyph
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