pub trait RootComponent {
// Required method
fn render_root(self, cx: &mut RenderCx<'_, '_>) -> Element;
}Required Methods§
fn render_root(self, cx: &mut RenderCx<'_, '_>) -> Element
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".