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

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

A type implementing IntoView means that it can be converted into a View. This allows it to be directly interpolated in the view! macro.

Required Methods

Called during the initial render when creating the DOM nodes. Should return a View.

Implementors