pub struct Font<'a> {
pub top_dict: TopDict,
pub char_strings_index: MaybeOwnedIndex<'a>,
pub charset: Charset<'a>,
pub data: CFFVariant<'a>,
}
Expand description
A single font within a CFF file
Fields
top_dict: TopDict
char_strings_index: MaybeOwnedIndex<'a>
charset: Charset<'a>
data: CFFVariant<'a>
Implementations
sourceimpl<'a> Font<'a>
impl<'a> Font<'a>
pub fn is_cid_keyed(&self) -> bool
Trait Implementations
Auto Trait Implementations
impl<'a> RefUnwindSafe for Font<'a>
impl<'a> Send for Font<'a>
impl<'a> Sync for Font<'a>
impl<'a> Unpin for Font<'a>
impl<'a> UnwindSafe for Font<'a>
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more