pub struct GlyphTally {
pub drawn: usize,
pub dropped: usize,
pub layout_text: usize,
pub cmap_text: usize,
}Expand description
What the pages did with the glyphs they were given.
Fields§
§drawn: usizeGlyphs written.
dropped: usizeGlyphs outside their page’s GlyphArea (or past the 16-bit glyph ids PDF can
name), not written.
layout_text: usizeWritten glyphs whose text came from the caller’s RunTexts.
cmap_text: usizeWritten glyphs whose text was read back from the font’s cmap.
Trait Implementations§
Source§impl Add for GlyphTally
impl Add for GlyphTally
Source§type Output = GlyphTally
type Output = GlyphTally
The resulting type after applying the
+ operator.Source§fn add(self, other: GlyphTally) -> GlyphTally
fn add(self, other: GlyphTally) -> GlyphTally
Performs the
+ operation. Read moreSource§impl Clone for GlyphTally
impl Clone for GlyphTally
impl Copy for GlyphTally
Source§impl Debug for GlyphTally
impl Debug for GlyphTally
Source§impl Default for GlyphTally
impl Default for GlyphTally
impl Eq for GlyphTally
Source§impl PartialEq for GlyphTally
impl PartialEq for GlyphTally
impl StructuralPartialEq for GlyphTally
Auto Trait Implementations§
impl Freeze for GlyphTally
impl RefUnwindSafe for GlyphTally
impl Send for GlyphTally
impl Sync for GlyphTally
impl Unpin for GlyphTally
impl UnsafeUnpin for GlyphTally
impl UnwindSafe for GlyphTally
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.Source§impl<U, T> ToOwnedObj<U> for Twhere
U: FromObjRef<T>,
impl<U, T> ToOwnedObj<U> for Twhere
U: FromObjRef<T>,
Source§fn to_owned_obj(&self, data: FontData<'_>) -> U
fn to_owned_obj(&self, data: FontData<'_>) -> U
Convert this type into
T, using the provided data to resolve any offsets.