Skip to main content

MenuHandler

Type Alias MenuHandler 

Source
pub type MenuHandler = Box<dyn Fn(usize)>;
Expand description

Runs with the number of the menu item the user chose.

Aliased Typeยง

pub struct MenuHandler(/* private fields */);