[][src]Trait spair::Component

pub trait Component: 'static + Sized {
    type Routes: Routes<Self>;
    fn render<'a>(&self, context: Context<'a, Self>);
}

Associated Types

type Routes: Routes<Self>

Loading content...

Required methods

fn render<'a>(&self, context: Context<'a, Self>)

Loading content...

Implementors

Loading content...