Factory Method
Define an interface for creating a single object, but let subclasses decide which class to instantiate. Factory Method lets a class defer instantiation to subclasses.
Examples in
Rust
No examples yet.
You can see if there are examples in other languages or
be the first to post an example in Rust!
You can see if there are examples in other languages or
be the first to post an example in Rust!