Macro mpstthree::create_choose_type_multi [−][src]
macro_rules! create_choose_type_multi { ($type_name : ident, $meshedchannels_name : ident, $nsessions : literal) => { ... }; }
Expand description
CHOICE Create the ChooseMpst type to be used with more than 3 participants.
Arguments
- The name of the new ChooseMpst type
- The MeshedChannels type that will be used
- The number of participants (all together)
Example
use mpstthree::{create_choose_type_multi, create_meshedchannels}; create_meshedchannels!(MeshedChannels, 3); create_choose_type_multi!(ChooseMpstThree, MeshedChannels, 3);