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.
Glossary: Rust Beyond the Basics
The compiler writing a separate copy of generic code for each type it is used with, so generics cost nothing at run time.