FerroUI/ docs

Search guides, controls, Rust APIs, and XAML.

    GitHub ↗

    FontCollectionKey

    struct · ferroui-base · v0.5.0

    struct FontCollectionKey
    

    Represents a unique key for identifying a font within a font collection based on style, weight and stretch.

    Keys order by style, then weight, then stretch (numeric values).

    View source

    Members

    style

    style: crate::media::FontStyle
    

    Source

    weight

    weight: crate::media::FontWeight
    

    Source

    stretch

    stretch: crate::media::FontStretch
    

    Source

    new

    const fn new(style: FontStyle, weight: FontWeight, stretch: FontStretch) -> Self
    

    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
    • Ord
    • PartialOrd
    • From<&Typeface>
    • From<&GlyphTypeface>
    • From<&dyn IPlatformTypeface>

    Availability

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