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