pub trait LayoutFactory: Send + Sync {
// Required method
fn create(&self, config: LayoutConfig) -> Box<dyn Layout>;
}Required Methods§
fn create(&self, config: LayoutConfig) -> Box<dyn Layout>
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".