Book description
NoneTable of contents
- Preface
- 1. Why Rust?
- 2. A Tour of Rust
- 3. Basic Types
- 4. Ownership
- 5. References
-
6. Expressions
- An Expression Language
- Blocks and Semicolons
- Declarations
- if and match
- Loops
- return Expressions
- Why Rust Has loop
- Function and Method Calls
- Fields and Elements
- Reference Operators
- Arithmetic, Bitwise, Comparison, and Logical Operators
- Assignment
- Type Casts
- Closures
- Precedence and Associativity
- Onward
- 7. Error Handling
- 8. Crates and Modules
- 9. Structs
- 10. Enums and Patterns
- 11. Traits and Generics
- 12. Operator Overloading
- 13. Utility Traits
- 14. Closures
- 15. Iterators
- 16. Collections
-
17. Strings and Text
- Some Unicode Background
- Characters (char)
-
String and str
- Creating String Values
- Simple Inspection
- Appending and Inserting Text
- Removing Text
- Conventions for Searching and Iterating
- Patterns for Searching Text
- Searching and Replacing
- Iterating over Text
- Trimming
- Case Conversion for Strings
- Parsing Other Types from Strings
- Converting Other Types to Strings
- Borrowing as Other Text-Like Types
- Accessing Text as UTF-8
- Producing Text from UTF-8 Data
- Putting Off Allocation
- Strings as Generic Collections
- Formatting Values
- Regular Expressions
- Normalization
- 18. Input and Output
- 19. Concurrency
- 20. Macros
- 21. Unsafe Code
- Index
Product information
- Title: Programming Rust
- Author(s):
- Release date:
- Publisher(s): O'Reilly Media, Inc.
- ISBN: None
You might also like
book
Designing Data-Intensive Applications
Data is at the center of many challenges in system design today. Difficult issues need to …
audiobook
The Design of Everyday Things
First, businesses discovered quality as a key competitive edge; next came science. Now, Donald A. Norman, …
book
Generative Deep Learning, 2nd Edition
Generative AI is the hottest topic in tech. This practical book teaches machine learning engineers and …
book
Effective Java, 3rd Edition
Since this Jolt-award winning classic was last updated in 2008, the Java programming environment has changed …