enum KindRepr {
Sfnt(SfntCaches),
Type1(Type1Data),
StandaloneCff(StandaloneCffData),
}Expand description
The underlying type of a font.
Every variant is stored inline. The SFNT caches are the largest variant, so the other variants add no size. Inlining also avoids a pointer indirection in the metric lookups for every advance.
Variants§
Auto Trait Implementations§
impl !Freeze for KindRepr
impl !RefUnwindSafe for KindRepr
impl !UnwindSafe for KindRepr
impl Send for KindRepr
impl Sync for KindRepr
impl Unpin for KindRepr
impl UnsafeUnpin for KindRepr
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