Macro mpstthree::create_normal_role

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

Create a 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_normal_role;

// Create the roles *A* and *ADual*
create_normal_role!(A, ADual);

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