FerroUI/ docs

Search guides, controls, Rust APIs, and XAML.

    GitHub ↗

    CmapSubtableEntry

    struct · ferroui-base · v0.5.0

    struct CmapSubtableEntry
    

    Representation of a subtable entry in the 'cmap' table directory.

    View source

    Members

    platform

    platform: crate::media::fonts::tables::platform_id::PlatformID
    

    Source

    encoding

    encoding: super::cmap_encoding::CmapEncoding
    

    Source

    offset

    offset: i32
    

    Source

    format

    format: super::cmap_format::CmapFormat
    

    Source

    new

    const fn new(platform: PlatformID, encoding: CmapEncoding, offset: i32, format: CmapFormat) -> Self
    

    Source

    get_subtable_memory

    fn get_subtable_memory(self: &Self, table: &ReadOnlyMemory<u8>) -> Result<ReadOnlyMemory<u8>, FontTableError>
    

    The part of the cmap table that starts at this entry's offset.

    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

    Availability

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