Rust Programming in Examples: Beginners Guide, Paperback/Max Sharp

Rust Programming in Examples: Beginners Guide, Paperback/Max Sharp

Descriere

This book is a guide for you to learn the Rust Programming Language. The first part of the book is a guide for you on how to get started with the Rust programming language. The author takes you through the initial steps of setting up the environment and writing your "Hello Word " program. The various primitive data types supported in Rust have been discussed, hence you will know how to use them when programming. You are also guided on how to work with Rust variables. Conversion of types through casting has been discussed in detail; hence, you will know how to convert one type to another. The control of the flow of execution has been discussed. You will learn how to use the various flow control statements in Rust. Loops have also been explored in detail to help you learn how to perform Rust task repeatedly. The author guides you on how to match patterns in Rust. The storage of data by use of vectors has also been explored. Closures and Traits are also popular Rust features. The author has discussed them in detail. The following topics have been discussed in this book: - Getting Started with Rust - Primitives -Variables - Type Casting - Flow Control - Loops - Functions - Traits - Pattern Matching - Vectors - Generics - Closures

Pe aceeași temă