Rust Data Types

Data types in Rust can be divided into scalar types and compound types. A scalar type represents a single value, while compound types can represent multiple values.

Rust Scalar Data Types

A scalar type represents a single value. Scalar types include:

Rust Compound Data Types

Compound types can represent multiple values. Compound types include: