pub struct Kerning { /* private fields */ }Expand description
Parsed GPOS kern-feature pair positioning for a font.
Built once via Font::gpos_kerning; Kerning::pair is a cheap,
allocation-free lookup. An empty Kerning (no GPOS / no kern feature /
malformed) makes every pair() return 0.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Kerning
impl RefUnwindSafe for Kerning
impl Send for Kerning
impl Sync for Kerning
impl Unpin for Kerning
impl UnsafeUnpin for Kerning
impl UnwindSafe for Kerning
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