pub trait View: Bind {
type Body: View = !;
// Provided methods
fn body(&self) -> Self::Body { ... }
fn fire(&self, event: &Event, id_path: &IdPath) { ... }
fn render(&mut self, context: &Context) -> Node { ... }
}Expand description
The primary view trait. Represents a lightweight UI component.