Macro mpstthree::create_multiple_normal_role[][src]

macro_rules! create_multiple_normal_role {
    ($($role_name : ident, $dual_name : ident |) +) => { ... };
}
This is supported on crate feature macros_simple only.
Expand description

Create multiple new Role and its dual.

Arguments

  • The name of the new Role
  • The name of the dual of the new Role

Example

use mpstthree::create_multiple_normal_role;

// Create the roles *A*, *ADual*, *B* and *BDual*
create_multiple_normal_role!(
   A, ADual |
   B, BDual |
);

This macro is available only if MultiCrusty is built with the "macros_simple" feature.