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!
Already subscribed? Log in!
Data types
Article included in this offer
"Software technologies and System architectures"
(
227 articles
)
Updated and enriched with articles validated by our scientific committees
A set of exclusive tools to complement the resources
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!
Already subscribed? Log in!