pub trait ElementFactory: Send + Sync {
// Required method
fn build(
&self,
name: &str,
props: Props,
children: Vec<Cached>,
) -> Box<dyn Component>;
}Expand description
Builds the component behind an unknown element tag.
Required Methods§
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".