Trait factory_steel::Factory [] [src]

pub trait Factory {
    fn create() -> Self;
}

A generic factory

This trait is automatically implemented using the factory derive. It is also possible to implement it manually if you want to define custom behaviors for nested factories.

Required Methods

Implementors