pub enum BaseEncoding {
WinAnsi,
MacRoman,
MacExpert,
Standard,
Symbol,
ZapfDingbats,
}Expand description
The named base encodings ISO 32000-1 §9.6.6.1 + §D.2 define for simple Type 1 / TrueType fonts.
Variants§
WinAnsi
MacRoman
MacExpert
Standard
ISO 32000-1 §D.2 “Standard” — the Adobe Type 1 standard encoding
(also the implicit default when a Type 1 font omits /Encoding).
Symbol
Symbol encoding — non-Latin glyph repertoire (Greek + math). Used by the built-in Symbol font.
ZapfDingbats
ZapfDingbats encoding — the built-in dingbat font’s repertoire.
Implementations§
Source§impl BaseEncoding
impl BaseEncoding
pub fn from_name(name: &str) -> Option<BaseEncoding>
Trait Implementations§
Source§impl Clone for BaseEncoding
impl Clone for BaseEncoding
Source§fn clone(&self) -> BaseEncoding
fn clone(&self) -> BaseEncoding
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for BaseEncoding
Source§impl Debug for BaseEncoding
impl Debug for BaseEncoding
impl Eq for BaseEncoding
Source§impl PartialEq for BaseEncoding
impl PartialEq for BaseEncoding
Source§fn eq(&self, other: &BaseEncoding) -> bool
fn eq(&self, other: &BaseEncoding) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for BaseEncoding
Auto Trait Implementations§
impl Freeze for BaseEncoding
impl RefUnwindSafe for BaseEncoding
impl Send for BaseEncoding
impl Sync for BaseEncoding
impl Unpin for BaseEncoding
impl UnsafeUnpin for BaseEncoding
impl UnwindSafe for BaseEncoding
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