更新时间:2021-06-24 12:28:29
coverpage
Title Page
Copyright and Credits
Rust Programming Cookbook
Dedication
About Packt
Why subscribe?
Foreword
Contributors
About the author
About the reviewer
Packt is searching for authors like you
Preface
Who this book is for
What this book covers
To get the most out of this book
Download the example code files
Download the color images
Code in Action
Conventions used
Sections
Getting ready
How to do it…
How it works…
There's more…
See also
Get in touch
Reviews
Starting Off with Rust
Setting up your environment
How to do it...
Managing the Rust installation with rustup.rs
Installing Visual Studio Code and extensions
Troubleshooting
How it works...
Working with the command line I/O
Creating and using data types
Controlling execution flow
Splitting your code with crates and modules
Writing tests and benchmarks
Documenting your code
Testing your documentation
Sharing code among types
Sequence types in Rust
Debugging Rust
Going Further with Advanced Rust
Creating meaningful numbers with enums
There is no null
Complex conditions with pattern matching
Implementing custom iterators
Filtering and transforming sequences efficiently
Reading memory the unsafe way
Shared ownership
Shared mutable ownership