Macro mpstthree::create_normal_role_short
source · [−]macro_rules! create_normal_role_short {
($role_name:ident) => { ... };
}
Available 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.