pub struct RunCommands;Expand description
Runs Duat commands, with syntax highlighting for correct
Parameters
Implementations§
Source§impl RunCommands
impl RunCommands
Trait Implementations§
Source§impl Clone for RunCommands
impl Clone for RunCommands
Source§fn clone(&self) -> RunCommands
fn clone(&self) -> RunCommands
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Default for RunCommands
impl Default for RunCommands
Source§fn default() -> RunCommands
fn default() -> RunCommands
Returns the “default value” for a type. Read more
Source§impl<U: Ui> PromptMode<U> for RunCommands
impl<U: Ui> PromptMode<U> for RunCommands
Source§fn before_exit(&mut self, _: &mut Pass, text: Text, _: &<U as Ui>::Area)
fn before_exit(&mut self, _: &mut Pass, text: Text, _: &<U as Ui>::Area)
What to do before exiting the
PromptMode Read moreSource§fn once()
fn once()
Things to do when this
PromptMode is first instantiatedSource§type ExitWidget = File<U>
type ExitWidget = File<U>
What
Widget to exit to, upon pressing enter, esc, or
backspace in an empty PromptLineSource§fn on_switch(&mut self, pa: &mut Pass, text: Text, area: &U::Area) -> Text
fn on_switch(&mut self, pa: &mut Pass, text: Text, area: &U::Area) -> Text
What to do when switchin onto this
PromptMode Read moreSource§fn return_handle(&self) -> Option<Handle<Self::ExitWidget, U>>
fn return_handle(&self) -> Option<Handle<Self::ExitWidget, U>>
An optional returning
Handle for the ExitWidgetAuto Trait Implementations§
impl Freeze for RunCommands
impl RefUnwindSafe for RunCommands
impl Send for RunCommands
impl Sync for RunCommands
impl Unpin for RunCommands
impl UnwindSafe for RunCommands
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more