[][src]Trait yewtil::PureComponent

pub trait PureComponent: Properties + Emissive + PartialEq + Sized + 'static {
    fn render(&self) -> Html<Pure<Self>>;
}

Allows immutable components to be declared using a single struct and a single method.

Required methods

fn render(&self) -> Html<Pure<Self>>

Renders self to Html.

Loading content...

Implementors

Loading content...