FerroUI/ docs

Search guides, controls, Rust APIs, and XAML.

    GitHub ↗

    FontManagerOptions

    struct · ferroui-base · v0.5.0

    struct FontManagerOptions
    

    Options to customize the behavior of the font manager.

    View source

    Members

    default_family_name

    default_family_name: Option<String>
    

    Gets or sets the default font family's name.

    Source

    font_fallbacks

    font_fallbacks: Option<Vec<crate::media::FontFallback>>
    

    Gets or sets the font fallbacks.

    A fallback contains a family name and an optional UnicodeRange.

    Source

    font_family_mappings

    font_family_mappings: Option<std::collections::HashMap<String, crate::media::FontFamily>>
    

    Gets or sets the font family mappings.

    A font family mapping is a dictionary that defines family names to be replaced by a different font family. Names are matched ignoring case.

    Source

    Trait implementations

    • Send
    • Sync
    • Freeze
    • UnsafeUnpin
    • Unpin
    • UnwindSafe
    • RefUnwindSafe
    • ClassDefaults
    • Borrow<T>
    • BorrowMut<T>
    • CloneToUninit
    • Into<U>
    • From<T>
    • TryInto<U>
    • TryFrom<U>
    • Any
    • ToOwned
    • ErasedDestructor
    • IntoEither
    • Clone
    • Debug
    • Default

    Availability

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