struct PreparedGlyphRun<'a> {
font: FontData,
font_info: FontInfo,
run_size: f32,
font_embolden: FontEmbolden,
glyph_transform: Option<Affine>,
draw_props: DrawProps,
scene_paint_transform: Affine,
normalized_coords: &'a [NormalizedCoord],
hinting_instance: Option<&'a HintingInstance>,
}Fields§
§font: FontDataThe underlying font data.
font_info: FontInfoBasic metadata about the underlying font.
run_size: f32The original run size supplied by the caller.
font_embolden: FontEmboldenSynthetic embolden settings.
glyph_transform: Option<Affine>The original per-glyph transform supplied by the caller.
draw_props: DrawPropsProperties for turning glyph-local positions into final draw transforms.
scene_paint_transform: AffineThe original transform for the paint in scene space.
normalized_coords: &'a [NormalizedCoord]§hinting_instance: Option<&'a HintingInstance>Trait Implementations§
Auto Trait Implementations§
impl<'a> Freeze for PreparedGlyphRun<'a>
impl<'a> !RefUnwindSafe for PreparedGlyphRun<'a>
impl<'a> Send for PreparedGlyphRun<'a>
impl<'a> Sync for PreparedGlyphRun<'a>
impl<'a> Unpin for PreparedGlyphRun<'a>
impl<'a> UnsafeUnpin for PreparedGlyphRun<'a>
impl<'a> !UnwindSafe for PreparedGlyphRun<'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