pub trait ParameterizedFactory {
type Item;
type Parameter;
// Required method
fn create(&self, param: Self::Parameter) -> Self::Item;
}
Expand description
This trait allows for creating any number of instances of the Item
type with the given parameter.