macro_rules! name {
        (matcher) => (
          // code
        )
      }
      
      Rust language logo

      Define a macro

      Codiga's Rust Recipes

      Use macro_rules! to define a macro

      0 Comments

        Add Comment

        Log in to add a comment

        Codiga - All rights reserved 2022.