raui_core::renderer

Trait Renderer

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

Required Methods§

source

fn render( &mut self, tree: &WidgetUnit, mapping: &CoordsMapping, layout: &Layout, ) -> Result<T, E>

Implementors§