Skip to content

Glossary: Software Design Patterns in Rust

Type explosion

The growth of one new struct for every mix of choices: two choices make 4 types, three make 8, as with GiftWrappedWholesale.

Where the book teaches it

Related terms

InheritanceComposition