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
The Rust Programming Language, 2nd Edition
The Rust Programming Language, 2nd Edition is the official guide to Rust 2021: an open source …
book
Programming Rust, 2nd Edition
Systems programming provides the foundation for the world's computation. Writing performance-sensitive code requires a programming language …
book
The Rust Programming Language
"The Rust Programming Language is the official book on Rust; a community-developed, systems programming language that …
book
Programming WebAssembly with Rust
WebAssembly fulfills the long-awaited promise of web technologies: fast code, type-safe at compile time, execution in …