Macro mpstthree::create_broadcast_role[][src]

macro_rules! create_broadcast_role {
    ($role_name : ident, $dual_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.

Arguments

Example

use mpstthree::create_broadcast_role;

create_broadcast_role!(RoleAlltoC, RoleCtoAll);