pub enum PdfFont {
TrueType {
file: PathBuf,
index: u32,
subset: usize,
},
Core(&'static str),
}Expand description
A font a document names (a key of matplotlib’s PdfFile.fontNames).
Variants§
TrueType
One subset of a face of a TrueType file.
Fields
Core(&'static str)
One of the 14 PDF core fonts, by the file name of its metrics.
Trait Implementations§
impl Eq for PdfFont
impl StructuralPartialEq for PdfFont
Auto Trait Implementations§
impl Forget for PdfFont
impl Freeze for PdfFont
impl Move for PdfFont
impl RefUnwindSafe for PdfFont
impl Send for PdfFont
impl Sync for PdfFont
impl Unpin for PdfFont
impl UnsafeUnpin for PdfFont
impl UnwindSafe for PdfFont
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