Macro mpstthree::create_broadcast_role_short[][src]

macro_rules! create_broadcast_role_short {
    ($role_name : ident) => { ... };
}
Expand description

Create a new broadcast mpstthree::role::Role and its dual. A broadcast mpstthree::role::Role is used for sending a choice. Its dual is used for receving this choice. When a name X is given, the Roles created are

  • RoleXtoAll
  • RoleAlltoX

If you want to specify other names, please use mpstthree::create_broadcast_role.

Arguments

Example

use mpstthree::create_broadcast_role_short;

create_broadcast_role_short!(A);