pub enum PredefinedEncoding {
Standard,
Expert,
IsoLatin1,
}Expand description
Predefined encodings for Adobe CFF and Type1 fonts.
Encodings map character codes to glyph names.
See https://adobe-type-tools.github.io/font-tech-notes/pdfs/5176.CFF.pdf#page=37.
Variants§
Implementations§
Trait Implementations§
Source§impl Clone for PredefinedEncoding
impl Clone for PredefinedEncoding
Source§fn clone(&self) -> PredefinedEncoding
fn clone(&self) -> PredefinedEncoding
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for PredefinedEncoding
impl Debug for PredefinedEncoding
Source§impl Default for PredefinedEncoding
impl Default for PredefinedEncoding
Source§fn default() -> PredefinedEncoding
fn default() -> PredefinedEncoding
Returns the “default value” for a type. Read more
Source§impl PartialEq for PredefinedEncoding
impl PartialEq for PredefinedEncoding
impl Copy for PredefinedEncoding
impl Eq for PredefinedEncoding
impl StructuralPartialEq for PredefinedEncoding
Auto Trait Implementations§
impl Freeze for PredefinedEncoding
impl RefUnwindSafe for PredefinedEncoding
impl Send for PredefinedEncoding
impl Sync for PredefinedEncoding
impl Unpin for PredefinedEncoding
impl UnsafeUnpin for PredefinedEncoding
impl UnwindSafe for PredefinedEncoding
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