pub trait RootView: Send + Sync {
// Required method
fn render(&self, ctx: RootViewContext<'_>) -> Result<String, String>;
}Expand description
Renders the initial HTML shell for a non-XHR response.
Required Methods§
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".