pub struct UsedFonts {
pub builtin: BTreeSet<BuiltinFont>,
pub truetype: BTreeSet<usize>,
}Expand description
Tracks which fonts were actually used during content generation.
Fields§
§builtin: BTreeSet<BuiltinFont>Set of built-in fonts used.
truetype: BTreeSet<usize>Indices into the document’s TrueType font list for fonts used.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for UsedFonts
impl RefUnwindSafe for UsedFonts
impl Send for UsedFonts
impl Sync for UsedFonts
impl Unpin for UsedFonts
impl UnsafeUnpin for UsedFonts
impl UnwindSafe for UsedFonts
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