Struct spinner::menu::Menu
[−]
[src]
pub struct Menu { // some fields omitted }
A menu that has not yet been displayed
Methods
impl Menu
fn new(i: Vec<MenuOption>) -> Self
Construct a new menu using the given MenuOptions
fn display(self) -> Vec<MenuOption>
Consume the menu and return a Vector of MenuOptions with the new values inserted.