更新时间:2021-07-02 18:58:22
coverpage
Title
Credits
About the Author
Acknowledgments
About the Reviewer
www.PacktPub.com
Why subscribe?
Customer Feedback
Preface
What this book covers
What you need for this book
Who this book is for
Sections
Getting ready
How to do it…
How it works…
There's more…
See also
Conventions
Reader feedback
Customer support
Downloading the example code
Downloading the color images of this book
Errata
Piracy
Questions
Let us Make System Programming Great Again
Introduction
Setting up Rust in Linux and macOS
How to do it...
Uninstalling Rust
Rust's compiler version
Advanced installation options
Troubleshooting
How it works...
Setting up Rust in Windows
Creating your first Rust program
Defining a variable assignment
Setting up Boolean and the character types
Controlling decimal points number formats and named arguments
Performing arithmetic operations
Defining mutable variables
Declaring and performing string operations
Declaring arrays and using slices in Rust
Declaring vectors in Rust
Declaring tuples in Rust
Performing calculations on two numbers
Advanced Programming with Rust
Defining an expression
Defining constants
Performing variable bindings
Performing type casting in Rust