pub struct Glyph {
pub id: u32,
pub x: f32,
pub y: f32,
}Expand description
Positioned glyph.
Fields§
§id: u32Glyph identifier.
x: f32X-offset in run, relative to transform.
y: f32Y-offset in run, relative to transform.
Trait Implementations§
impl Copy for Glyph
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