Data types
Rust Programming Language
Quizzed article REF: H3098 V2
Data types
Rust Programming Language

Author : Laurent BLOCH

Publication date: June 10, 2022, Review date: February 29, 2024 | Lire en français

Logo Techniques de l'Ingenieur You do not have access to this resource.
Request your free trial access! Free trial

Already subscribed?

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

SCROLL TO TOP

2.1.1 Integer types

An integer is a number with no decimal part. The integer types provided by Rust are shown in table 1 .

You do not have access to this resource.
Logo Techniques de l'Ingenieur

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?


Article included in this offer

"Software technologies and System architectures"

( 227 articles )

Complete knowledge base

Updated and enriched with articles validated by our scientific committees

Services

A set of exclusive tools to complement the resources

View offer details