Skip to content

Glossary: Software Design Patterns in Rust

Builder

Also written: builder pattern, consuming builder

A pattern that collects the parts of a complicated value one method call at a time, then checks and creates it in `build()`. Each step takes and returns `self`, so calls chain.

Where the book teaches it

Related terms

Creational pattern