pub trait Render {
// Required method
fn render<H: UiHost>(
&mut self,
cx: &mut ElementContext<'_, H>,
) -> AnyElement;
}Expand description
Stateful view authoring layer (ADR 0039).
Required Methods§
fn render<H: UiHost>(&mut self, cx: &mut ElementContext<'_, H>) -> AnyElement
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.