pub trait SpotlightFactory:
Send
+ Sync
+ 'static {
// Required method
fn create(&self, ctx: &Context<'_>) -> SpotlightObjectBox;
}Required Methods§
fn create(&self, ctx: &Context<'_>) -> SpotlightObjectBox
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".