This is part one of a special series I devoted to Rust Macros. In this video, I explained in detail
What macros are
How macros compare to functions
2 solid examples of how to use declarative macros.
GitHub Repo
https://github.com/henryobiaraije/Mas...
Related videos
• Pattern Syntax in Rust Part 1 Rust Match Pattern syntax in Rust Match expressions
Understand Match expression in Rust • Rust - Master Match Control Flow with This...
Master Arrays and Vectors in Rust • Tuple, Array, and Vector in Rust Programmi...
== Connect with us ==
Website: https://daily-dose-of-rust-language.p...
Youtube Subscribe: https://bit.ly/ytddrust
Facebook: https://bit.ly/fbddrust
Twitter: https://bit.ly/twddrust
Linkedin: https://bit.ly/linkedinddrust
== Table of content ===
0:00 Intro
0:33 Previous Video Recap
1:25 4 difference between macros and functions
3:05 Types of macro in Rust
3:44 Jargon used for Rust macros
4:20 The Vec macro in Rust language
6:53 Example 1 - How to create a macro
18:07 Example 2 - Creating a custom macro in Rust
21:46 Conclusion - It's so easy to use Macros in Rust