pub struct ChangeToEndOfLine;Expand description
Change to end of line (C).
Deletes from cursor to end of line and enters insert mode. The deleted text is stored in the register as characterwise.
Trait Implementations§
Source§impl Clone for ChangeToEndOfLine
impl Clone for ChangeToEndOfLine
Source§fn clone(&self) -> ChangeToEndOfLine
fn clone(&self) -> ChangeToEndOfLine
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 ChangeToEndOfLine
impl Command for ChangeToEndOfLine
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 ChangeToEndOfLine
impl CommandHandler for ChangeToEndOfLine
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 ChangeToEndOfLine
impl Debug for ChangeToEndOfLine
Source§impl Default for ChangeToEndOfLine
impl Default for ChangeToEndOfLine
Source§fn default() -> ChangeToEndOfLine
fn default() -> ChangeToEndOfLine
Returns the “default value” for a type. Read more
impl Copy for ChangeToEndOfLine
Auto Trait Implementations§
impl Freeze for ChangeToEndOfLine
impl RefUnwindSafe for ChangeToEndOfLine
impl Send for ChangeToEndOfLine
impl Sync for ChangeToEndOfLine
impl Unpin for ChangeToEndOfLine
impl UnsafeUnpin for ChangeToEndOfLine
impl UnwindSafe for ChangeToEndOfLine
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