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