Uploaded January 2024 | Updated November 2026, 2 hours ago
Rust is a statically typed language, which means that it must know the types of all variables at compile time.
The compiler can usually infer what type we want to use based on the value and how we use it. In cases when many types are possible, we must add a type annotation.
In this lesson, we will cover the basic data types in Rust.
We will talk about:
- Scalar types
- Compound types
- Custom types
π¦ All the lessons:
Installation and Hello World: youtu.be/R33h77nrMqc
Variables: youtu.be/6Ag0MZUlvBE
Data Types: youtu.be/NyqJp5M3hRE
Functions: youtu.be/hJLc2Zu405A
Basic Control flow: youtu.be/2w_FTiD74JI
Ownership: youtu.be/9VBLOwmNE1g
References and Borrowing: youtu.be/Q_0yoX07Fhs
Slices: youtu.be/dKymZbFp0ZQ
Structs: youtu.be/PCjuO-Bv5FI
Struct Example: youtu.be/mgK5LezkHl8
Methods: youtu.be/94iSHoKmPmY
ALL THE LINKS HERE: francescociulla.com
0:00 Introduction: Scalar Types, Compound types, Custom types
1:19: Integers, Integers Literals
3:28 Floating-Points, Basic operations
4:21 Booleans
6:51 Characters
7:51 Compound types: Tuples
9:57 Arrays
11:32 Custom types: Stricts
12:41 Enums
Rust is a statically typed language, which means that it must know the types of all variables at compile time.
The compiler can usually infer what type we want to use based on the value and how we use it. In cases when many types are possible, we must add a type annotation.
In this lesson, we will cover the basic data types in Rust.
We will talk about:
- Scalar types
- Compound types
- Custom types
π¦ All the lessons:
Installation and Hello World: youtu.be/R33h77nrMqc
Variables: youtu.be/6Ag0MZUlvBE
Data Types: youtu.be/NyqJp5M3hRE
Functions: youtu.be/hJLc2Zu405A
Basic Control flow: youtu.be/2w_FTiD74JI
Ownership: youtu.be/9VBLOwmNE1g
References and Borrowing: youtu.be/Q_0yoX07Fhs
Slices: youtu.be/dKymZbFp0ZQ
Structs: youtu.be/PCjuO-Bv5FI
Struct Example: youtu.be/mgK5LezkHl8
Methods: youtu.be/94iSHoKmPmY
ALL THE LINKS HERE: francescociulla.com
0:00 Introduction: Scalar Types, Compound types, Custom types
1:19: Integers, Integers Literals
3:28 Floating-Points, Basic operations
4:21 Booleans
6:51 Characters
7:51 Compound types: Tuples
9:57 Arrays
11:32 Custom types: Stricts
12:41 Enums










