Tour of Rust Table of Contents

Chapter 4 - Generic Types

Generic types are incredibly important in Rust. They are used in the representation of nullable values (i.e. variables which might not have a value yet), error handling, collections, and more! In this section we will be learning about the foundational generic types you will likely be using all the time.

Mascot Ferris