pub trait CloneableFactoryComponent: FactoryComponent {
    // Required method
    fn get_init(&self) -> Self::Init;
}
Expand description

Extension for FactoryComponent that makes elements cloneable.

Required Methods§

source

fn get_init(&self) -> Self::Init

Retrieve the initialization data from an initialized factory component. This is necessary for cloning the factory.

Implementors§