Skip to content

Glossary: Rust Basics

Type

Also written: types

The kind of value something is, such as a whole number, decimal, `bool` or text. It decides what you can do with the value.

Where the book teaches it

Related terms

Type annotation