#[repr(u32)]pub enum EncodingKind {
Show 13 variants
None = 0,
MsSymbol = 1_937_337_698,
Unicode = 1_970_170_211,
Sjis = 1_936_353_651,
Prc = 1_734_484_000,
Big5 = 1_651_074_869,
Wansung = 2_002_873_971,
Johab = 1_785_686_113,
AdobeStandard = 1_094_995_778,
AdobeExpert = 1_094_992_453,
AdobeCustom = 1_094_992_451,
AdobeLatin1 = 1_818_326_065,
AppleRoman = 1_634_889_070,
}Expand description
The character encoding of a font mapping.
Values match FreeType’s FT_Encoding tags. Multiple mappings can have
the same kind, so use the full Encoding to select one.
Variants§
None = 0
An unclassified mapping.
MsSymbol = 1_937_337_698
Microsoft symbol encoding.
Unicode = 1_970_170_211
Unicode encoding.
Sjis = 1_936_353_651
Shift JIS encoding.
Prc = 1_734_484_000
Simplified Chinese encoding.
Big5 = 1_651_074_869
Traditional Chinese encoding.
Wansung = 2_002_873_971
Wansung encoding.
Johab = 1_785_686_113
Johab encoding.
AdobeStandard = 1_094_995_778
Adobe Standard encoding.
AdobeExpert = 1_094_992_453
Adobe Expert encoding.
AdobeCustom = 1_094_992_451
Adobe Custom encoding.
AdobeLatin1 = 1_818_326_065
Adobe Latin 1 encoding.
AppleRoman = 1_634_889_070
Apple Roman encoding.
Trait Implementations§
Source§impl Clone for EncodingKind
impl Clone for EncodingKind
Source§fn clone(&self) -> EncodingKind
fn clone(&self) -> EncodingKind
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 EncodingKind
Source§impl Debug for EncodingKind
impl Debug for EncodingKind
impl Eq for EncodingKind
Source§impl Hash for EncodingKind
impl Hash for EncodingKind
Source§impl PartialEq for EncodingKind
impl PartialEq for EncodingKind
impl StructuralPartialEq for EncodingKind
Auto Trait Implementations§
impl Freeze for EncodingKind
impl RefUnwindSafe for EncodingKind
impl Send for EncodingKind
impl Sync for EncodingKind
impl Unpin for EncodingKind
impl UnsafeUnpin for EncodingKind
impl UnwindSafe for EncodingKind
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