Primitive Types

Primitive numeric types

Signed

i8
i16
i32
i64

Unsigned

u8
u16
u32
u64

Floating

f32
f64

String and char

str
char

Other

bool
type*     // pointer to `type`
&type     // reference to `type`
[type]    // slice of `type`
[type, n] // array of `type` with `n` length