Skip to content

Glossary: Rust Basics

Integer

Also written: integers, i32, u32, u8, i64, u64

A whole number type. `i32` is the default, `u32` can't be negative, and the number is how many bits the type uses.

Where the book teaches it

Related terms

Signed / unsignedBitFloat