- Rust Programming Cookbook
- Claus Matzinger
- 90字
- 2021-06-24 12:27:42
Creating and using data types
Rust features all of the basic types: signed and unsigned integers up to 64 bits in width; floating-point types up to 64 bits; character types; and Booleans. Of course, any program will need more complex data structures to remain readable.
If you are unfamiliar with unit tests in Rust (or in general), we suggest going through the Writing tests and benchmarks recipe here in this chapter first.
In this recipe, we'll look at good basic practices to create and use data types.
推薦閱讀
- Vue.js設(shè)計與實現(xiàn)
- Flutter開發(fā)實戰(zhàn)詳解
- 算法基礎(chǔ):打開程序設(shè)計之門
- Web交互界面設(shè)計與制作(微課版)
- 樂學(xué)Web編程:網(wǎng)站制作不神秘
- Java開發(fā)入行真功夫
- Nginx Essentials
- C#程序設(shè)計
- Responsive Web Design by Example
- Learn React with TypeScript 3
- Instant Lucene.NET
- 大話Java:程序設(shè)計從入門到精通
- Julia 1.0 Programming Complete Reference Guide
- Getting Started with the Lazarus IDE
- Learning Ext JS(Fourth Edition)