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§
- ScriptedUI
- This is a scripted UI. It returns the scripted input without querying user.
- UILock
- 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§
- UI
- The UI trait used to abstract all common UI operations