pub struct IndentSelection;Expand description
Indent selection (> in visual mode).
Increases indentation of selected lines. Returns to Normal mode after execution.
Trait Implementations§
Source§impl Clone for IndentSelection
impl Clone for IndentSelection
Source§fn clone(&self) -> IndentSelection
fn clone(&self) -> IndentSelection
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 IndentSelection
impl Command for IndentSelection
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 IndentSelection
impl CommandHandler for IndentSelection
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 IndentSelection
impl Debug for IndentSelection
Source§impl Default for IndentSelection
impl Default for IndentSelection
Source§fn default() -> IndentSelection
fn default() -> IndentSelection
Returns the “default value” for a type. Read more
impl Copy for IndentSelection
Auto Trait Implementations§
impl Freeze for IndentSelection
impl RefUnwindSafe for IndentSelection
impl Send for IndentSelection
impl Sync for IndentSelection
impl Unpin for IndentSelection
impl UnsafeUnpin for IndentSelection
impl UnwindSafe for IndentSelection
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