Trait sycamore::template::IntoTemplate[][src]

pub trait IntoTemplate<G: GenericNode> {
    fn create(&self) -> Template<G>;
}
Expand description

Trait for describing how something should be rendered into DOM nodes.

Required methods

Called during the initial render when creating the DOM nodes. Should return a Vec of GenericNodes.

Implementors