FontVariation
struct · ferroui-base · v0.5.0
struct FontVariation
A single variable-font axis setting in user-space coordinates, e.g.
wght=650.
Members
tag
tag: crate::media::fonts::OpenTypeTag
The four-character axis tag (e.g. wght).
value
value: f64
The axis value in user-space units (e.g. 650 for wght).
new
const fn new(tag: OpenTypeTag, value: f64) -> Self
Creates an axis setting.
Trait implementations
SendSyncFreezeUnsafeUnpinUnpinUnwindSafeRefUnwindSafeResourceKeyObjectPropertyValueAnyValueClassDefaultsBorrow<T>BorrowMut<T>CloneToUninitInto<U>From<T>TryInto<U>TryFrom<U>AnyToOwnedToStringErasedDestructorIntoEitherCloneCopyDebugPartialEqEqHashDisplay
Availability
Extracted for aarch64-apple-darwin. Cargo features are listed in the crate index.