pub trait Renderer<T, E> {
// Required method
fn render(
&mut self,
tree: &WidgetUnit,
mapping: &CoordsMapping,
layout: &Layout,
) -> Result<T, E>;
}
pub trait Renderer<T, E> {
// Required method
fn render(
&mut self,
tree: &WidgetUnit,
mapping: &CoordsMapping,
layout: &Layout,
) -> Result<T, E>;
}