ycliper

Популярное

Музыка Кино и Анимация Автомобили Животные Спорт Путешествия Игры Юмор

Интересные видео

2025 Сериалы Трейлеры Новости Как сделать Видеоуроки Diy своими руками

Топ запросов

смотреть а4 schoolboy runaway турецкий сериал смотреть мультфильмы эдисон
Скачать

A Practical Introduction to Declarative Macros in Rust

software

software development

software engineering

coding

rust

rust-lang

rustlang

rs

macros

declarative macros

rust lang

Автор: Schrödinger's Watermelon

Загружено: 2023-04-21

Просмотров: 6159

Описание: In this video, we'll give you a practical introduction to declarative macros in Rust. We'll start with a simple example to help you understand what declarative macros are and how they can be written. We'll then explore positional, infinite positional, and named parameters in declarative macros, as well as fragment specifiers of parameters. By the end of this video, you'll have a solid understanding of declarative macros in Rust and how you can use them to make your code more concise and maintainable.

To learn more about macros in Rust, check out the Macros section in the Rust Book at https://doc.rust-lang.org/book/ch19-0.... For more information on declarative macros specifically, you can also refer to the Declarative Macros reference at https://doc.rust-lang.org/reference/m....

The background music for this video includes "Jazzy Hip Hop Boom Bap" and "Sweet Chillhop" by Music Unlimited, "Lofi Vintage" and "Street Food" by FASSounds.

Don't forget to follow me on my social media accounts:

Blog: https://erayerdin.com/
GitHub: https://github.com/erayerdin
Twitter:   / _erayerdin  
Stack Overflow: https://stackoverflow.com/users/29269...
Telegram: https://t.me/erayerdin

Hashtags: #macros #declarative #rust #rustlang #metaprogramming

00:00 Introduction
00:06 What is a macro?
00:56 Warnings
01:38 Example project
01:58 Creating the project
02:07 A simple macro with positional parameters
02:42 Parameter types for declarative macros
03:26 Desugaring the macros with rust-analyzer
03:49 Another simple macro
04:07 Named parameters in declarative macros
05:06 Infinite positional parameters in declarative macros
06:33 Using macros outside a crate
06:47 Exporting macros to be used outside the crate
06:45 Using macros outside a crate (again)
07:15 Ending

Не удается загрузить Youtube-плеер. Проверьте блокировку Youtube в вашей сети.
Повторяем попытку...
A Practical Introduction to Declarative Macros in Rust

Поделиться в:

Доступные форматы для скачивания:

Скачать видео

  • Информация по загрузке:

Скачать аудио

Похожие видео

A Practical Introduction to Derive Macros in Rust

A Practical Introduction to Derive Macros in Rust

rust macros are magic

rust macros are magic

A Practical Introduction to Derive Macros with Attributes

A Practical Introduction to Derive Macros with Attributes

Comprehending Proc Macros

Comprehending Proc Macros

but what is 'a lifetime?

but what is 'a lifetime?

Ace Rust Macros ♠️ the declarative kind

Ace Rust Macros ♠️ the declarative kind

Crust of Rust: Declarative Macros

Crust of Rust: Declarative Macros

Rust Functions Are Weird (But Be Glad)

Rust Functions Are Weird (But Be Glad)

Use Arc Instead of Vec

Use Arc Instead of Vec

Rust's Witchcraft

Rust's Witchcraft

© 2025 ycliper. Все права защищены.



  • Контакты
  • О нас
  • Политика конфиденциальности



Контакты для правообладателей: [email protected]