Module prototty_elements::menu
[−]
[src]
Graphical menus
Structs
Menu |
A list of |
MenuEntry |
A single entry in a menu. It owns the value which will be yielded if this entry is finalised. |
MenuInstance |
An instance of a menu, with a selected entry.
A |
Enums
MenuChoice |
The choice made by a user when running a menu. |
Traits
MenuRunner |
Running a menu is the process of displaying the menu with a visible selection, and capturing input to change the selection. It's possbile for a user to submit their selection (usually by pressing a key), to cancel the menu (usually by pressing a different key), or to quit the menu (usually by senting ETX). |