Module add_ed::ui

source ·
Expand description

Defines UI trait and some testing implementations

It is used to allow exchanging the UI of hired and to insert a dummy UI for script input.

Modules

Structs

  • This is a scripted UI. It returns the scripted input without querying user.
  • A simple object that locks UI and calls unlock_ui on it when being dropped (Since it holds a mutable ref to UI its existence locks UI interaction)

Traits

  • The UI trait used to abstract all common UI operations