Struct pdfium_render::font::PdfFont
source · [−]pub struct PdfFont<'a> { /* private fields */ }Expand description
A single font used to render text in a PdfDocument.
The PDF specification defines 14 built-in fonts that can be used in any PDF file without font embedding. Additionally, custom fonts can be directly embedded into any PDF file as a data stream.
Implementations
Auto Trait Implementations
impl<'a> !RefUnwindSafe for PdfFont<'a>
impl<'a> !Send for PdfFont<'a>
impl<'a> !Sync for PdfFont<'a>
impl<'a> Unpin for PdfFont<'a>
impl<'a> !UnwindSafe for PdfFont<'a>
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more