pub struct GlyphPrepCache {
pub(crate) outline_cache: OutlineCache,
pub(crate) hinting_cache: HintCache,
pub(crate) underline_exclusions: Vec<(f64, f64)>,
}Expand description
Caches used for preparing glyph drawing.
Fields§
§outline_cache: OutlineCacheCaches glyph outlines.
hinting_cache: HintCacheCaches hinting instances.
underline_exclusions: Vec<(f64, f64)>Horizontal spans excluded from “ink-skipping” underlines.
Implementations§
Trait Implementations§
Source§impl Debug for GlyphPrepCache
impl Debug for GlyphPrepCache
Source§impl Default for GlyphPrepCache
impl Default for GlyphPrepCache
Source§fn default() -> GlyphPrepCache
fn default() -> GlyphPrepCache
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for GlyphPrepCache
impl RefUnwindSafe for GlyphPrepCache
impl Send for GlyphPrepCache
impl Sync for GlyphPrepCache
impl Unpin for GlyphPrepCache
impl UnsafeUnpin for GlyphPrepCache
impl UnwindSafe for GlyphPrepCache
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