Struct add_ed::ui::DummyUI [−][src]
Expand description
This is a dummy UI. That means it simulates an UI without interfacing with any users.
How to use:
- Put the input to simulate line-by-line in the input variable.
- If you want output from print commands put the UI to print with in print_ui.
Fields
input: VecDeque<String>
print_ui: Option<&'a mut dyn UI>
Trait Implementations
Auto Trait Implementations
impl<'a> !RefUnwindSafe for DummyUI<'a>
impl<'a> !UnwindSafe for DummyUI<'a>