Macro mpstthree::create_choose_type_multi
source · macro_rules! create_choose_type_multi { ($type_name:ident, $meshedchannels_name:ident, $n_sessions:literal) => { ... }; }
Available on crate feature
macros_multiple
only.Expand description
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);
This macro is available only if MultiCrusty is built with
the "macros_multiple"
feature.