tinymist_project::world::font

Trait ReusableFontResolver

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

Required Methods§

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§

§

impl<T> ReusableFontResolver for Arc<T>

§

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

Implementors§