Function serenity_utils::menu::next_page
source · [−]Expand description
Moves a reaction menu forward.
Note: This function is not a ControlFunction
. To turn it into a
control function, you must pin it and then create an Arc
of it.
let next_page_cfn = Arc::new(|m, r| Box::pin(next_page(m, r)));
next_page_cfn
is a ControlFunction
and can be used to control a menu.