Module roopes::prelude::abstract_factory
source · Expand description
Doc images not enabled. Compile with feature doc-images
and Rust version >= 1.54 to enable.
Provides an abstraction for object creation.
![abstract factory diagram][abstract-factory-diagram]
Modules
- Provides a simple wrapper struct around
Emitter
,Fn()->T
types. - Exposes
AbstractFactory
at the library level.
Structs
- Created new objects by repeatedly calling its delegated
Emitter
.
Traits
- This trait enables the abstraction of the creation of objects.