Struct rusttype::Glyph [−][src]
pub struct Glyph<'font> { /* fields omitted */ }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
Augments this glyph with scaling information, making methods that depend on the scale of the glyph available.
Trait Implementations
Auto Trait Implementations
impl<'font> RefUnwindSafe for Glyph<'font>
impl<'font> UnwindSafe for Glyph<'font>
Blanket Implementations
Mutably borrows from an owned value. Read more
