Skip to content

Glossary: Rust Beyond the Basics

type parameter

Also written: <T>

A stand-in name for a type, usually `T`, declared in angle brackets after a function or struct name. It means "whatever type the caller uses".

Where the book teaches it

Related terms

generictrait bound