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).
Members
style
style: crate::media::FontStyle
weight
weight: crate::media::FontWeight
stretch
stretch: crate::media::FontStretch
new
const fn new(style: FontStyle, weight: FontWeight, stretch: FontStretch) -> Self
Trait implementations
SendSyncFreezeUnsafeUnpinUnpinUnwindSafeRefUnwindSafeResourceKeyObjectPropertyValueAnyValueClassDefaultsBorrow<T>BorrowMut<T>CloneToUninitInto<U>From<T>TryInto<U>TryFrom<U>AnyToOwnedErasedDestructorIntoEitherCloneCopyDebugStructuralPartialEqPartialEqEqHashOrdPartialOrdFrom<&Typeface>From<&GlyphTypeface>From<&dyn IPlatformTypeface>
Availability
Extracted for aarch64-apple-darwin. Cargo features are listed in the crate index.