- 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.
- Dynamics 365 for Finance and Operations Development Cookbook(Fourth Edition)
- UNIX編程藝術
- JavaScript全程指南
- Delphi程序設計基礎:教程、實驗、習題
- Drupal 8 Blueprints
- Dependency Injection in .NET Core 2.0
- Python爬蟲開發與項目實戰
- Apache Karaf Cookbook
- Web Development with MongoDB and Node(Third Edition)
- Java網絡編程核心技術詳解(視頻微課版)
- 編程與類型系統
- Spring Boot+MVC實戰指南
- Scala編程(第5版)
- C語言程序設計與應用(第2版)
- Illustrator CS6設計與應用任務教程