pub trait FontFallbackChainTrait:
Clone
+ Send
+ Sync {
// Required methods
fn is_empty(&self) -> bool;
fn primary_font_id(&self) -> Option<FontId>;
}Expand description
Trait for font fallback chains
Required Methods§
Sourcefn primary_font_id(&self) -> Option<FontId>
fn primary_font_id(&self) -> Option<FontId>
Get the primary font ID (if any)
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".