[][src]Crate prototty_menu

Modules

fade_spec

Structs

Escape
FadeMenuEntryView
FadeMenuInstanceRoutine
InitialIndexOutOfBounds
MenuEntryStylePair

An implementation of MenuEntryView for menus whose entries can be converted into string slices.

MenuInstance
MenuInstanceBuilder
MenuInstanceChooseOrCancel
MenuInstanceChooseOrEscape
MenuInstanceChooseOrQuit
MenuInstanceExtraRoutine
MenuInstanceJustChoose
MenuInstanceRoutine
MenuInstanceView
Quit

Enums

Cancel
MenuOutput

Traits

ChooseStyleFromEntryExtra
MenuEntryExtraView

Sometimes the menu entry alone is not sufficient to render the menu entry. An example is when the mappings from menu entry to (say) string is not statically known. The extra argument to the methods of this trait can be used to pass some external object which knows how to map menu entries to some renderable value.

MenuEntryView
MenuIndexFromScreenCoord
MenuInstanceChoose
MenuInstanceExtraSelect

Functions

menu_entry_view

Convenience function to simplify implementing MenuEntryView and MenuEntryExtraView.

Type Definitions

MenuEntryViewInfo