- 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.
- Boost.Asio C++ Network Programming(Second Edition)
- 嵌入式軟件系統(tǒng)測(cè)試:基于形式化方法的自動(dòng)化測(cè)試解決方案
- Machine Learning with R Cookbook(Second Edition)
- 少年輕松趣編程:用Scratch創(chuàng)作自己的小游戲
- MATLAB 2020 從入門到精通
- Java加密與解密的藝術(shù)(第2版)
- Advanced Oracle PL/SQL Developer's Guide(Second Edition)
- Hands-On Automation Testing with Java for Beginners
- 新一代SDN:VMware NSX 網(wǎng)絡(luò)原理與實(shí)踐
- Modernizing Legacy Applications in PHP
- 實(shí)戰(zhàn)Python網(wǎng)絡(luò)爬蟲
- Shopify Application Development
- Tableau Dashboard Cookbook
- 從零開始學(xué)Unity游戲開發(fā):場(chǎng)景+角色+腳本+交互+體驗(yàn)+效果+發(fā)布
- Visual Basic語(yǔ)言程序設(shè)計(jì)上機(jī)指導(dǎo)與練習(xí)(第3版)