Skip to main content

GlyphDrawer

Trait GlyphDrawer 

Source
pub trait GlyphDrawer {
    // Required method
    fn draw_glyphs<'a>(
        &mut self,
        origin: Point,
        props: &GlyphRunProps<'a>,
        glyphs: impl Iterator<Item = Glyph> + 'a,
    );
}

Required Methods§

Source

fn draw_glyphs<'a>( &mut self, origin: Point, props: &GlyphRunProps<'a>, glyphs: impl Iterator<Item = Glyph> + 'a, )

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.

Implementors§