In Easy Stey by Step, Teach Yourself eBook & Book, 2021. — 128 p. — ASIN B095M4DNHP.
Rust Programming & Exercises covers all essential Rust language knowledge. You can learn complete primary skills of Rust programming fast and easily. The book includes many practical examples for beginners and includes exercises for the college exam, the engineer certification exam, and the job interview exam.
Note:
This book is suitable for Rust programming beginners; it is not for the Rust experience programmers.
Chapter 1What is Rust Language?
The Feature of Rust
Install Rust
The First Rust Program
Comment
Chapter 2Data Type
Variables
Output Format
Constants
Date Type Conversion
Reserved Words
Function
Return Type
Chapter 3Variable-Binding
String Assignment
Arithmetical Operators
Logical Operators
Comparison Operators
Array
Slice
Chapter 4If Statement
If-else Statement
Let-If Statement
Loop – Break Statement
For Statement
While Statement
Tuples
Match
Chapter 5Struct
Enum
Ownership
Chapter 6Module
Embedded Module
External File
Private Function
Super
Chapter 7Vector
Multiple Patterns
Range
Binding a Range
Generics
Chapter 8Method
Trait
Drop() Method
Closure
Appendix 1Error Checking
Appendix 2 Q & AQuestions
Answers
Recommended Books