pub struct SimpleFont {
pub glyphs: GlyphSource,
/* private fields */
}Expand description
A one-byte-per-code font.
The four parallel 256-entry tables are the shape PDFium works in, and they stay: the ladders write into them in an order that matters, and collapsing them into one array of records would hide which step wrote what.
Fields§
§glyphs: GlyphSourceWhere glyphs come from.
Implementations§
impl SimpleFont
This impl block contains no public items.
Drawn-outline access, so a caller need not reach into glyphs.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for SimpleFont
impl RefUnwindSafe for SimpleFont
impl Send for SimpleFont
impl Sync for SimpleFont
impl Unpin for SimpleFont
impl UnsafeUnpin for SimpleFont
impl UnwindSafe for SimpleFont
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