- Rust Essentials(Second Edition)
- Ivo Balbaert
- 219字
- 2021-07-02 15:30:33
Conventions
In this book, you will find a number of text styles that distinguish between different kinds of information. Here are some examples of these styles and an explanation of their meaning.
Code words in text, database table names, folder names, filenames, file extensions, pathnames, dummy URLs, user input, and Twitter handles are shown as follows: "The read_line() method returns a value of type IoResult<String>, which is a specialized Result type."
A block of code is set as follows:
match magician {
"Gandalf" => println!("A good magician!"),
"Sauron" => println!("A magician turned bad!"), _ => println!("No magician turned up!")
}
When we wish to draw your attention to a particular part of a code block, the relevant lines or items are set in bold:
match magician {
"Gandalf" => println!("A good magician!"),
"Sauron" => println!("A magician turned bad!"), _ => println!("No magician turned up!")
}
Any command-line input or output is written as follows:
# rustc welcome.rs -o start
New terms and important words are shown in bold. Words that you see on the screen, for example, in menus or dialog boxes, appear in the text like this: "When working with Rust code, select Tools | Build System and RustEnhanced."
Warnings or important notes appear in a box like this.
Tips and tricks appear like this.
- HTML5+CSS3王者歸來
- Boost程序庫完全開發指南:深入C++”準”標準庫(第5版)
- R語言數據分析從入門到精通
- Rust編程:入門、實戰與進階
- AWS Serverless架構:使用AWS從傳統部署方式向Serverless架構遷移
- Learning C++ Functional Programming
- 程序員數學:用Python學透線性代數和微積分
- Podman實戰
- Learning Probabilistic Graphical Models in R
- Unity UI Cookbook
- 0 bug:C/C++商用工程之道
- HTML5秘籍(第2版)
- Django 3.0入門與實踐
- Building Dynamics CRM 2015 Dashboards with Power BI
- Illustrator CS6設計與應用任務教程