pub enum Encoding<'a> {
Predefined(PredefinedEncoding),
Custom(CustomEncoding<'a>),
}Expand description
Mapping from character codes to string ids.
See “Encodings” at https://adobe-type-tools.github.io/font-tech-notes/pdfs/5176.CFF.pdf#page=18.
Variants§
Predefined(PredefinedEncoding)
Custom(CustomEncoding<'a>)
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl<'a> Freeze for Encoding<'a>
impl<'a> RefUnwindSafe for Encoding<'a>
impl<'a> Send for Encoding<'a>
impl<'a> Sync for Encoding<'a>
impl<'a> Unpin for Encoding<'a>
impl<'a> UnsafeUnpin for Encoding<'a>
impl<'a> UnwindSafe for Encoding<'a>
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