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