Rust data types

Scalar Types

A scalar type represets a single value. There are four types:

  1. Integers
  2. Floating-point numbers
  3. Booleans
  4. Characters

Integers

Number without fractionary part. Can be signed or unsigned

LengthSignedUnsigned
8-biti8u8
16-biti16u16
32-biti32u32
64-biti64u64
archisizeusize