Macro mpstthree::create_normal_role_short[][src]

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

Create a new Role and its dual. When a name X is given, the Roles created are

  • RoleX
  • RoleXDual

If you want to specify other names, please use create_normal_role.

Arguments

  • The name of the new Role

Example

use mpstthree::create_normal_role_short;

// Create the roles *RoleA* and *RoleADual*
create_normal_role_short!(A);

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