FerroUI/ docs

Search guides, controls, Rust APIs, and XAML.

    GitHub ↗

    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.

    View source

    Members

    0

    0: u16
    

    Source

    as_encoding

    fn as_encoding(self: Self) -> Encoding
    

    Converts encoding ID to text encoding.

    Source

    Unicode1

    const Unicode1: EncodingIDs
    

    Unicode 1.0 semantics.

    Source

    Unicode11

    const Unicode11: EncodingIDs
    

    Unicode 1.1 semantics.

    Source

    ISO10646

    const ISO10646: EncodingIDs
    

    ISO/IEC 10646 semantics.

    Source

    Unicode2

    const Unicode2: EncodingIDs
    

    Unicode 2.0 and onwards semantics, Unicode BMP only (cmap subtable formats 0, 4, 6).

    Source

    Unicode2Plus

    const Unicode2Plus: EncodingIDs
    

    Unicode 2.0 and onwards semantics, Unicode full repertoire (cmap subtable formats 0, 4, 6, 10, 12).

    Source

    UnicodeVariationSequences

    const UnicodeVariationSequences: EncodingIDs
    

    Unicode Variation Sequences (cmap subtable format 14).

    Source

    UnicodeFull

    const UnicodeFull: EncodingIDs
    

    Unicode full repertoire (cmap subtable formats 0, 4, 6, 10, 12, 13).

    Source

    Trait implementations

    • Send
    • Sync
    • Freeze
    • UnsafeUnpin
    • Unpin
    • UnwindSafe
    • RefUnwindSafe
    • ResourceKeyObject
    • PropertyValue
    • AnyValue
    • ClassDefaults
    • Borrow<T>
    • BorrowMut<T>
    • CloneToUninit
    • Into<U>
    • From<T>
    • TryInto<U>
    • TryFrom<U>
    • Any
    • ToOwned
    • ErasedDestructor
    • IntoEither
    • Clone
    • Copy
    • Debug
    • StructuralPartialEq
    • PartialEq
    • Eq
    • Hash
    • Default
    • From<u16>

    Availability

    Extracted for aarch64-apple-darwin. Cargo features are listed in the crate index.