Rust Mini Reference: A Quick Guide to the Rust Programming Language for Busy Coders Front Cover

Rust Mini Reference: A Quick Guide to the Rust Programming Language for Busy Coders


Learn the Core Concepts and Essential Grammar of the Rust Programming Language in One Book!

This book is a mini language reference on the Rust programming language. We go through all essential features of Rust 2021 Edition (and some newer language features) in this book. Rust is one of the most powerful languages, originally created for low-level systems programming. Rust is now widely used in other areas as well, such as Web application and Web Assembly development. Rust is, in fact, one of the most popular/loved languages among developers. (And yet, it is one of the most difficult programming languages to learn.)

This book is specifically written for

  • Experienced programmers who are relatively new to Rust and want to get a broad and high-level picture of the Rust language, or
  • Beginning Rust programmers who have some real hands-on experience with Rust and want to learn various fundamental concepts in idiomatic Rust programming.

That is, if you have some prior experience with Rust or other similar languages like C/C++ or OCaml/Haskell, etc., then this book is for you. This book is, however, ultimately a language reference (as in “syntax and semantics”), and it is not intended for complete beginners.

The book covers

  • Rust crates. Modules.
  • Rust program items.
  • Names and variables.
  • Copy vs move.
  • Ownership and borrowing.
  • Blocks, scopes, lifetimes.
  • Types, traits, generics.
  • Special types, special traits.
  • Expressions. Statements.
  • Functions. Closures.
  • Pattern matching. If-let, Let-else, While-let.
  • Error handling. Options and Results.
  • Common macros.
  • Builtin attributes.
To access the link, solve the captcha.