Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

语法

在下面的小节中,我们将展示如何在 Rust 中定义宏。基本的概念有三个: