Skip to content

Glossary: Rust Beyond the Basics

monomorphization

The compiler writing a separate copy of generic code for each type it is used with, so generics cost nothing at run time.

Where the book teaches it

Related terms

genericstatic dispatch