- Rust Quick Start Guide
- Daniel Arbuckle
- 150字
- 2021-06-10 19:46:04
Literal expressions
The simplest of Rust's expressions are the ones where we just write out the representation of the value we want. For example, when Rust sees 2 it knows we are asking it for the number 2. Similarly, when Rust sees "Hello, world!" it knows we're asking it to produce the sequence of letters that spells out Hello, world!
Rust recognizes the following literal expressions:
- Numbers
- Quoted text
- Byte sequences
- Single Unicode points
- Single bytes
- Boolean values
Numbers can be written as integers or decimal numbers or in engineering notation, and there are a few variants for quoted text and byte sequences, too. Boolean values are written as either true or false. In this book, we're not going to need any of the variants of quoted text, and we won't need byte sequences at all, so we won't go into those in more detail. See https://doc.rust-lang.org/ if you're curious.
- C語言課程設計
- Mastering Elixir
- Training Systems Using Python Statistical Modeling
- C++程序設計教程
- Responsive Web Design with jQuery
- MongoDB Administrator’s Guide
- Distributed Computing with Python
- ASP.NET Core 2 High Performance(Second Edition)
- 打造流暢的Android App
- Mastering Vim
- MATLAB/Simulink建模與仿真
- 交互設計語言:與萬物對話的藝術(全兩冊)
- 數據結構:C語言描述(融媒體版)
- Visual FoxPro程序設計教程(第3版)
- 物聯網及低功耗藍牙5.x高級開發