PretextFontParser
struct · ferroui-pretext-contracts · v0.5.0
struct PretextFontParser
Members
parse
fn parse(font: &str) -> PretextFontDescriptor
Parses the source's permissive CSS subset; absent pixel sizes use defaults.
map_generic_family
fn map_generic_family<'a>(primary_family: &'a str, sans_serif_fallback: &'a str, serif_fallback: &'a str, monospace_fallback: &'a str) -> &'a str
Trait implementations
SendSyncFreezeUnsafeUnpinUnpinUnwindSafeRefUnwindSafeBorrow<T>BorrowMut<T>Into<U>From<T>TryInto<U>TryFrom<U>Any
Availability
Extracted for aarch64-apple-darwin. Cargo features are listed in the crate index.