pub trait ElementPlugin {
// Required method
fn element_descriptors(&self) -> Vec<ElementRegistration>;
}Expand description
Future plugin boundary: loaders register descriptors, while element crates remain pure and effect-free.
Required Methods§
fn element_descriptors(&self) -> Vec<ElementRegistration>
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".