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