pub struct Glyph<'font> { /* private fields */ }
Expand description
A single glyph of a font.
A Glyph
does not have an inherent scale or position associated with it. To
augment a glyph with a size, give it a scale using scaled
. You can then
position it using positioned
.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl<'font> Freeze for Glyph<'font>
impl<'font> RefUnwindSafe for Glyph<'font>
impl<'font> Send for Glyph<'font>
impl<'font> Sync for Glyph<'font>
impl<'font> Unpin for Glyph<'font>
impl<'font> UnwindSafe for Glyph<'font>
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