pub struct EnterCommandLineMode;Expand description
Enter command-line mode (: in normal mode).
This pushes “commandline” mode onto the mode stack. In command-line mode,
the user can type Ex commands like :w, :q, :set, etc.
Trait Implementations§
Source§impl Clone for EnterCommandLineMode
impl Clone for EnterCommandLineMode
Source§fn clone(&self) -> EnterCommandLineMode
fn clone(&self) -> EnterCommandLineMode
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 EnterCommandLineMode
impl Command for EnterCommandLineMode
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 EnterCommandLineMode
impl CommandHandler for EnterCommandLineMode
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 EnterCommandLineMode
impl Debug for EnterCommandLineMode
Source§impl Default for EnterCommandLineMode
impl Default for EnterCommandLineMode
Source§fn default() -> EnterCommandLineMode
fn default() -> EnterCommandLineMode
Returns the “default value” for a type. Read more
impl Copy for EnterCommandLineMode
Auto Trait Implementations§
impl Freeze for EnterCommandLineMode
impl RefUnwindSafe for EnterCommandLineMode
impl Send for EnterCommandLineMode
impl Sync for EnterCommandLineMode
impl Unpin for EnterCommandLineMode
impl UnsafeUnpin for EnterCommandLineMode
impl UnwindSafe for EnterCommandLineMode
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