- Rust Programming Cookbook
- Claus Matzinger
- 180字
- 2021-06-24 12:27:38
Conventions used
There are a number of text conventions used throughout this book.
CodeInText: Indicates code words in text, database table names, folder names, filenames, file extensions, pathnames, dummy URLs, user input, and Twitter handles. Here is an example: "Mount the downloaded WebStorm-10*.dmg disk image file as another disk in your system."
A block of code is set as follows:
macro_rules! strange_patterns {
(The pattern must match precisely) => { "Text" };
(42) => { "Numeric" };
(;<=,<=;) => { "Alpha" };
}
When we wish to draw your attention to a particular part of a code block, the relevant lines or items are set in bold:
#[test]
#[should_panic]
fn test_failing_make_fn() {
make_fn!(fail, {assert!(false)});
fail();
}
Any command-line input or output is written as follows:
$ cargo run
Bold: Indicates a new term, an important word, or words that you see on screen. For example, words in menus or dialog boxes appear in the text like this. Here is an example: "Select System info from the Administration panel."
- Learning Scala Programming
- Reporting with Visual Studio and Crystal Reports
- Building a Game with Unity and Blender
- Azure IoT Development Cookbook
- Hands-On Data Structures and Algorithms with JavaScript
- DevOps入門與實(shí)踐
- R語(yǔ)言編程指南
- 批調(diào)度與網(wǎng)絡(luò)問(wèn)題的組合算法
- 從零開(kāi)始學(xué)Linux編程
- Multithreading in C# 5.0 Cookbook
- Procedural Content Generation for C++ Game Development
- ASP.NET程序開(kāi)發(fā)范例寶典
- C專家編程
- Python語(yǔ)言科研繪圖與學(xué)術(shù)圖表繪制從入門到精通
- Advanced UFT 12 for Test Engineers Cookbook