pub trait Renderer: Renderer {
// Required methods
fn dimensions(&self, handle: Handle) -> (u32, u32);
fn draw(
&mut self,
handle: Handle,
color: Rgba<u8>,
layout: Layout<'_>,
) -> Self::Output;
}
Required Methods§
fn dimensions(&self, handle: Handle) -> (u32, u32)
fn draw( &mut self, handle: Handle, color: Rgba<u8>, layout: Layout<'_>, ) -> Self::Output
Object Safety§
This trait is not object safe.