Data Types
id202307052117
Status: #idea
Tags: Rust
Data Types
graph TD 0(Data types) --> 1(Scalar) 0 --> 2(Compound) 1 --> 3(Numbers) --> 4(Integers) 3 --> 5(Floating-point) 1 --> 6(Boolean) 1 --> 7(Character)
- Rust is a statically typed language, i.e. it must know all the types of variables at compile time
- The compiler usually infers types.