pub trait Renderer: Renderer {
    // Required method
    fn draw<M, B>(
        &mut self,
        defaults: &Self::Defaults,
        background: &B,
        background_layout: Layout<'_>,
        viewport: &Rectangle,
        content: &Element<'_, M, Self>,
        content_layout: Layout<'_>,
        cursor_position: Point,
    ) -> Self::Output
       where B: Background<Self>;
}

Required Methods§

source

fn draw<M, B>( &mut self, defaults: &Self::Defaults, background: &B, background_layout: Layout<'_>, viewport: &Rectangle, content: &Element<'_, M, Self>, content_layout: Layout<'_>, cursor_position: Point, ) -> Self::Output
where B: Background<Self>,

Object Safety§

This trait is not object safe.

Implementors§