pub struct DeleteSelection;Expand description
Delete selection (d in visual mode).
Deletes the selected text and stores it in the register. Returns to Normal mode after execution.
Trait Implementations§
Source§impl Clone for DeleteSelection
impl Clone for DeleteSelection
Source§fn clone(&self) -> DeleteSelection
fn clone(&self) -> DeleteSelection
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 DeleteSelection
impl Command for DeleteSelection
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 DeleteSelection
impl CommandHandler for DeleteSelection
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 DeleteSelection
impl Debug for DeleteSelection
Source§impl Default for DeleteSelection
impl Default for DeleteSelection
Source§fn default() -> DeleteSelection
fn default() -> DeleteSelection
Returns the “default value” for a type. Read more
impl Copy for DeleteSelection
Auto Trait Implementations§
impl Freeze for DeleteSelection
impl RefUnwindSafe for DeleteSelection
impl Send for DeleteSelection
impl Sync for DeleteSelection
impl Unpin for DeleteSelection
impl UnsafeUnpin for DeleteSelection
impl UnwindSafe for DeleteSelection
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