- 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.
推薦閱讀
- 深入核心的敏捷開發:ThoughtWorks五大關鍵實踐
- 計算機網絡
- Designing Machine Learning Systems with Python
- Mastering AWS Lambda
- 企業級Java EE架構設計精深實踐
- C#完全自學教程
- Getting Started with PowerShell
- Mastering Ext JS
- D3.js 4.x Data Visualization(Third Edition)
- Learning Unity 2D Game Development by Example
- 運用后端技術處理業務邏輯(藍橋杯軟件大賽培訓教材-Java方向)
- jQuery炫酷應用實例集錦
- OpenCV with Python By Example
- Raspberry Pi Robotic Projects(Third Edition)
- Django 5企業級Web應用開發實戰(視頻教學版)