pub enum EditorMode {
Terminal,
Headless,
Boxed(Box<dyn UserInterface>),
}Expand description
The mode that the Editor will run in following a call to Editor::run.
Variants§
Terminal
Run as a TUI
Headless
Run without a user interface
Boxed(Box<dyn UserInterface>)
Used in scenario tests
Trait Implementations§
Auto Trait Implementations§
impl Freeze for EditorMode
impl !RefUnwindSafe for EditorMode
impl !Send for EditorMode
impl !Sync for EditorMode
impl Unpin for EditorMode
impl !UnwindSafe for EditorMode
Blanket Implementations§
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more