pub trait IRendererStorage<B: Backend> {
    // Required methods
    fn has_component(&self, tagname: &str) -> bool;
    fn add_renderer<'b>(
        &'b mut self,
        tagname: &'b str,
        render: fn(_: &mut Frame<'_, B>)
    ) -> &'b mut Self;
    fn render(&self, tagname: &str, frame: &mut Frame<'_, B>);
}

Required Methods§

source

fn has_component(&self, tagname: &str) -> bool

source

fn add_renderer<'b>( &'b mut self, tagname: &'b str, render: fn(_: &mut Frame<'_, B>) ) -> &'b mut Self

source

fn render(&self, tagname: &str, frame: &mut Frame<'_, B>)

Implementors§