Trait prototty::Renderer
[−]
[src]
pub trait Renderer { type Error: Debug; fn render<V: View<T>, T>(
&mut self,
view: &V,
data: &T
) -> Result<(), Self::Error>; }
Trait to implement for renderers that take data and a view that knows how to render the data to a grid, and actually draws the result.