![](/assets/images/picto-drapeau-france-OnZXal1.png)
2. Data types
Rust distinguishes between scalar types (a variable of the type represents a single value) and compound types, which can group together several values in a single variable. Rust has two basic compound types: tuples and arrays, and allows new ones to be declared.
2.1 Scalar types
An integer is a number with no decimal part. The integer types provided by Rust are shown in table 1 .
Exclusive to subscribers. 97% yet to be discovered!
You do not have access to this resource.
Click here to request your free trial access!
Already subscribed? Log in!
![](/assets/images/logo-eti-KGYj7ZH.png)
The Ultimate Scientific and Technical Reference
This article is included in
Software technologies and System architectures
This offer includes:
Knowledge Base
Updated and enriched with articles validated by our scientific committees
Services
A set of exclusive tools to complement the resources
Practical Path
Operational and didactic, to guarantee the acquisition of transversal skills
Doc & Quiz
Interactive articles with quizzes, for constructive reading
Data types
Bibliography
- (1) - Async/await on embedded Rust. - Consulté le 17 avril 2022. https://ferrous-systems.com/blog/async-on-embedded/ .
- (2) - LAURENT (B.) -...
Exclusive to subscribers. 97% yet to be discovered!
You do not have access to this resource.
Click here to request your free trial access!
Already subscribed? Log in!
![](/assets/images/logo-eti-KGYj7ZH.png)
The Ultimate Scientific and Technical Reference