pub struct ExitCommandLineMode;Expand description
Exit command-line mode (Escape or Enter).
Returns to normal mode from command-line mode. If a search was pending, executes the search with the entered pattern.
Trait Implementations§
Source§impl Clone for ExitCommandLineMode
impl Clone for ExitCommandLineMode
Source§fn clone(&self) -> ExitCommandLineMode
fn clone(&self) -> ExitCommandLineMode
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 Command for ExitCommandLineMode
impl Command for ExitCommandLineMode
Source§fn description(&self) -> &'static str
fn description(&self) -> &'static str
Get a human-readable description of what this command does.
Source§fn complete(&self, _partial: &str) -> Vec<String>
fn complete(&self, _partial: &str) -> Vec<String>
Get tab-completion candidates for this command’s arguments. Read more
Source§fn priority(&self) -> CommandPriority
fn priority(&self) -> CommandPriority
Registration priority (#545). Read more
Source§impl CommandHandler for ExitCommandLineMode
impl CommandHandler for ExitCommandLineMode
Source§fn execute(
&self,
runtime: &mut SessionRuntime<'_>,
args: &CommandContext,
) -> CommandResult
fn execute( &self, runtime: &mut SessionRuntime<'_>, args: &CommandContext, ) -> CommandResult
Execute the command. Read more
Source§impl Debug for ExitCommandLineMode
impl Debug for ExitCommandLineMode
Source§impl Default for ExitCommandLineMode
impl Default for ExitCommandLineMode
Source§fn default() -> ExitCommandLineMode
fn default() -> ExitCommandLineMode
Returns the “default value” for a type. Read more
impl Copy for ExitCommandLineMode
Auto Trait Implementations§
impl Freeze for ExitCommandLineMode
impl RefUnwindSafe for ExitCommandLineMode
impl Send for ExitCommandLineMode
impl Sync for ExitCommandLineMode
impl Unpin for ExitCommandLineMode
impl UnsafeUnpin for ExitCommandLineMode
impl UnwindSafe for ExitCommandLineMode
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