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