pub trait Renderer: Renderer {
// Required method
fn draw<M>(
&mut self,
defaults: &Self::Defaults,
children: &[Element<'_, M, Self>],
layout: Layout<'_>,
cursor_position: Point,
viewport: &Rectangle,
) -> Self::Output;
}
Required Methods§
fn draw<M>( &mut self, defaults: &Self::Defaults, children: &[Element<'_, M, Self>], layout: Layout<'_>, cursor_position: Point, viewport: &Rectangle, ) -> Self::Output
Object Safety§
This trait is not object safe.