pub struct GlyphRun<'a> {
pub typeface: &'a Typeface,
pub size: f32,
/* private fields */
}Expand description
The glyphs of one run of a line, ready to draw.
Fields§
§typeface: &'a TypefaceThe typeface the glyphs come from.
size: f32The font size in pixels.
Implementations§
Auto Trait Implementations§
impl<'a> !RefUnwindSafe for GlyphRun<'a>
impl<'a> !UnwindSafe for GlyphRun<'a>
impl<'a> Forget for GlyphRun<'a>
impl<'a> Freeze for GlyphRun<'a>
impl<'a> Move for GlyphRun<'a>
impl<'a> Send for GlyphRun<'a>
impl<'a> Sync for GlyphRun<'a>
impl<'a> Unpin for GlyphRun<'a>
impl<'a> UnsafeUnpin for GlyphRun<'a>
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