PretextFontDescriptor
struct · ferroui-pretext-contracts · v0.5.0
struct PretextFontDescriptor
The CSS-like font subset accepted by text preparation backends.
Members
size
size: f64
primary_family
primary_family: String
weight
weight: i32
italic
italic: bool
new
fn new(size: f64, primary_family: impl Into<String>, weight: i32, italic: bool) -> Self
Trait implementations
SendSyncFreezeUnsafeUnpinUnpinUnwindSafeRefUnwindSafeBorrow<T>BorrowMut<T>CloneToUninitInto<U>From<T>TryInto<U>TryFrom<U>AnyToOwnedCloneDebugStructuralPartialEqPartialEqDefault
Availability
Extracted for aarch64-apple-darwin. Cargo features are listed in the crate index.