赞
踩
目录
Chapter 5: Using Structs to Structure Related Data
5.1. Defining and Instantiating Structs
5.2. An example Program Using Structs
Chapter 6: Enums and pattern matching
6.2 The match Control Flow Construct
6.3 Concise Control Flow with if let
Chap 7: Managing Growing Projects with Packages, Crates, and Modules
7.2. Defining Modules to Control Scope and Privacy
7.3. Paths for Referring to an Item in the Module Tree
7.4. Bringing Paths Into Scope with the use Keyword
7.5. Separating Modules into Different Files
8.1. Storing lists of values with vectors
8.2. Storing utf-8 encoded text with strings
8.3. Storing keys with associated values in hash maps
9.1. Unrecoverable Errors with panic!
9.2. Recoverable Errors with Result
9.3. To panic! Or Not to panic!
Chapter 10: generic types, and lifetimes
10.1 generic data types
10.2 traits: defining shared behavior
10.3 validating references with lifetimes
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。