pub(crate) enum FontKind<'a> {
Sfnt(&'a FontTables, u32),
Type1(&'a Type1Font),
}Expand description
The underlying type of a font.
Variants§
Sfnt(&'a FontTables, u32)
An SFNT-based font represented by a set of tables and an index.
Type1(&'a Type1Font)
An Adobe Type1 font.
Trait Implementations§
Auto Trait Implementations§
impl<'a> Freeze for FontKind<'a>
impl<'a> !RefUnwindSafe for FontKind<'a>
impl<'a> Send for FontKind<'a>
impl<'a> Sync for FontKind<'a>
impl<'a> Unpin for FontKind<'a>
impl<'a> UnsafeUnpin for FontKind<'a>
impl<'a> !UnwindSafe for FontKind<'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