Skip to content

Glossary: Software Design Patterns in Rust

Hook

Also written: hooks

The step a template method leaves open for the caller to fill in, such as a closure that formats a report row.

Where the book teaches it

Related terms

Template method