#[repr(transparent)]pub struct Glyph(_);
Expand description
Structure describing a glyph.
A glyph is the visual representation of a character.
The Glyph
structure provides the information needed to handle the glyph:
- its coordinates in the font’s texture
- its bounding rectangle
- the offset to apply to get the starting position of the next glyph
Implementations
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Glyph
impl Send for Glyph
impl Sync for Glyph
impl Unpin for Glyph
impl UnwindSafe for Glyph
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more