pub struct ChangeSelection;Expand description
Change selection (c in visual mode).
Deletes the selected text and enters Insert mode.
Trait Implementations§
Source§impl Clone for ChangeSelection
impl Clone for ChangeSelection
Source§fn clone(&self) -> ChangeSelection
fn clone(&self) -> ChangeSelection
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 ChangeSelection
impl Command for ChangeSelection
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 ChangeSelection
impl CommandHandler for ChangeSelection
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 ChangeSelection
impl Debug for ChangeSelection
Source§impl Default for ChangeSelection
impl Default for ChangeSelection
Source§fn default() -> ChangeSelection
fn default() -> ChangeSelection
Returns the “default value” for a type. Read more
impl Copy for ChangeSelection
Auto Trait Implementations§
impl Freeze for ChangeSelection
impl RefUnwindSafe for ChangeSelection
impl Send for ChangeSelection
impl Sync for ChangeSelection
impl Unpin for ChangeSelection
impl UnsafeUnpin for ChangeSelection
impl UnwindSafe for ChangeSelection
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