pub(crate) struct Outline {
glyph: GlyphId,
coverage_index: u32,
measured: Measured,
}Expand description
A glyph in the VARC table, with its working memory size computed.
A composite glyph, ready to draw.
The memory a draw needs depends on the whole tree, so the tree is measured the first time that is asked for, not when the outline is made.
Fields§
§glyph: GlyphId§coverage_index: u32§measured: MeasuredImplementations§
Trait Implementations§
Auto Trait Implementations§
impl !Freeze for Outline
impl RefUnwindSafe for Outline
impl Send for Outline
impl Sync for Outline
impl Unpin for Outline
impl UnsafeUnpin for Outline
impl UnwindSafe for Outline
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