Skip to content

josehu07/rust-learn

Repository files navigation

Rust "The Book" - Notes & Coding Examples

Jose @ ShanghaiTech

languages top-lang code-size

Contents

Basically Rust essential coding concepts and examples, following "The Book" from rust-lang.org.

Each sub-folder is a Cargo project, containing essential coding concepts, syntax and examples related to that topic. Detailed explanations will be given as comments if necessary.

Links

Advanced Features Not Included Yet

Refer to "The Book", Chapter 19 when having trouble.

  • Unsafe Rust for 4 conditions
  • Lifetime subtyping
  • Associated types, and it v.s. generic traits
  • Default generic type
  • Super-traits
  • Type aliases
  • The Never type !
  • Returning closure
  • Function pointers
  • Macros and how to define new ones

About

Rust "The Book" - Notes & Coding Examples

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published