pub trait FontLoader {
// Required method
fn load(&self, store: &Store, font: &Object) -> Option<Arc<dyn Font>>;
}Expand description
Loads fonts from font dictionaries; implementations cache them.
Required Methods§
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".