script_layout_interface

Trait LayoutFactory

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

Required Methods§

source

fn create(&self, config: LayoutConfig) -> Box<dyn Layout>

Implementors§