pub enum Charmap {
Unicode,
Index(usize),
None,
}Expand description
Which charmap a lookup reads.
A value rather than face state: PDFium’s FT_Set_Charmap mutates the face,
which would make every ladder order-dependent on a shared value.
Variants§
Unicode
The face’s best Unicode charmap, chosen by skrifa.
Index(usize)
A specific subtable, by index into the cmap encoding records.
None
No charmap: every lookup yields 0.
Trait Implementations§
impl Copy for Charmap
impl Eq for Charmap
impl StructuralPartialEq for Charmap
Auto Trait Implementations§
impl Freeze for Charmap
impl RefUnwindSafe for Charmap
impl Send for Charmap
impl Sync for Charmap
impl Unpin for Charmap
impl UnsafeUnpin for Charmap
impl UnwindSafe for Charmap
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