Skip to content

Glossary: Software Design Patterns in Rust

Abstract factory

A trait with several make methods that builds a family of matching parts together, such as a carrier and its label printer. Callers get a consistent set without naming concrete types.

Where the book teaches it

Related terms

Factory methodSimple factory