📄️ 19.1 - Unsafe Rust
This chapter is meant as an introduction to unsafe code, but if you find yourself actually writing unsafe code, it would be a good idea to read through the Rustonomicon. There are many things you can do in unsafe code that will result in undefined behavior, some of which you might surprise you if you're coming from a language like C/C++.
📄️ 19.2 - Advanced Traits
For an introduction to traits, see chapter 10.
📄️ 19.3 - Advanced Types
Using the Newtype Pattern for Type Safety and Abstraction
📄️ 19.4 - Advanced Functions and Closures
📄️ 19.5 - Macros
If you're coming to Rust from C or C++, then you're no doubt already familiar with macros. We're going to give a quick introduction to macros here, but if you want to read more you should check out The Little Book of Rust Macros.