pub struct ToggleVisualChar;Expand description
Toggle to character-wise visual mode (v in visual mode).
If already in character-wise mode, exit to normal mode. Otherwise, switch to character-wise selection.
Trait Implementations§
Source§impl Clone for ToggleVisualChar
impl Clone for ToggleVisualChar
Source§fn clone(&self) -> ToggleVisualChar
fn clone(&self) -> ToggleVisualChar
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 ToggleVisualChar
impl Command for ToggleVisualChar
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 ToggleVisualChar
impl CommandHandler for ToggleVisualChar
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 ToggleVisualChar
impl Debug for ToggleVisualChar
Source§impl Default for ToggleVisualChar
impl Default for ToggleVisualChar
Source§fn default() -> ToggleVisualChar
fn default() -> ToggleVisualChar
Returns the “default value” for a type. Read more
impl Copy for ToggleVisualChar
Auto Trait Implementations§
impl Freeze for ToggleVisualChar
impl RefUnwindSafe for ToggleVisualChar
impl Send for ToggleVisualChar
impl Sync for ToggleVisualChar
impl Unpin for ToggleVisualChar
impl UnsafeUnpin for ToggleVisualChar
impl UnwindSafe for ToggleVisualChar
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