App

Trait App 

Source
pub trait App: 'static {
    // Required method
    fn render(&self) -> impl IntoElement;
}
Expand description

App is a trait for root-level application components. Types implementing App automatically implement Component and have a blanket PartialEq implementation that always returns true.

Required Methods§

Source

fn render(&self) -> impl IntoElement

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§