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