EncodingIDs
struct · ferroui-base · v0.5.0
struct EncodingIDs
Encoding IDs.
The value comes straight from font data, so any 16 bit value is representable; the named values are associated constants.
Members
0as_encodingUnicode1Unicode11ISO10646Unicode2Unicode2PlusUnicodeVariationSequencesUnicodeFull
0
0: u16
as_encoding
fn as_encoding(self: Self) -> Encoding
Converts encoding ID to text encoding.
Unicode1
const Unicode1: EncodingIDs
Unicode 1.0 semantics.
Unicode11
const Unicode11: EncodingIDs
Unicode 1.1 semantics.
ISO10646
const ISO10646: EncodingIDs
ISO/IEC 10646 semantics.
Unicode2
const Unicode2: EncodingIDs
Unicode 2.0 and onwards semantics, Unicode BMP only (cmap subtable formats 0, 4, 6).
Unicode2Plus
const Unicode2Plus: EncodingIDs
Unicode 2.0 and onwards semantics, Unicode full repertoire (cmap subtable formats 0, 4, 6, 10, 12).
UnicodeVariationSequences
const UnicodeVariationSequences: EncodingIDs
Unicode Variation Sequences (cmap subtable format 14).
UnicodeFull
const UnicodeFull: EncodingIDs
Unicode full repertoire (cmap subtable formats 0, 4, 6, 10, 12, 13).
Trait implementations
SendSyncFreezeUnsafeUnpinUnpinUnwindSafeRefUnwindSafeResourceKeyObjectPropertyValueAnyValueClassDefaultsBorrow<T>BorrowMut<T>CloneToUninitInto<U>From<T>TryInto<U>TryFrom<U>AnyToOwnedErasedDestructorIntoEitherCloneCopyDebugStructuralPartialEqPartialEqEqHashDefaultFrom<u16>
Availability
Extracted for aarch64-apple-darwin. Cargo features are listed in the crate index.