Macro mpstthree::create_multiple_normal_role

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

Create multiple new Role and their respective 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.