scalar type represents a single value. Rust has four primary scalar types: integers, floating-point numbers, Booleans, and characters.

integer

floating point

booleans

characters