Trait ReusableFontResolver

Source
pub trait ReusableFontResolver: FontResolver {
    // Required method
    fn slots(&self) -> impl Iterator<Item = FontSlot>;
}
Expand description

A reusable font resolver.

Required Methods§

Source

fn slots(&self) -> impl Iterator<Item = FontSlot>

Reuses the font resolver.

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementations on Foreign Types§

Source§

impl<T: ReusableFontResolver> ReusableFontResolver for Arc<T>

Source§

fn slots(&self) -> impl Iterator<Item = FontSlot>

Implementors§