FerroUI/ docs

Search guides, controls, Rust APIs, and XAML.

    GitHub ↗

    IFontMemory

    trait · ferroui-base · v0.5.0

    trait IFontMemory
    

    Represents a memory manager for font data.

    View source

    Members

    try_get_table

    fn try_get_table(self: &Self, tag: OpenTypeTag) -> Option<ReadOnlyMemory<u8>>
    

    Attempts to retrieve the memory region corresponding to the specified OpenType table tag.

    Returns None when the table is not present.

    Source

    dispose

    fn dispose(self: &Self)
    

    Releases the font data (C# IDisposable.Dispose).

    Source

    Availability

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