pub trait LayoutFactory: Send + Sync { // Required method fn create(&self, config: LayoutConfig) -> Box<dyn Layout>; }