pub struct InnerWord;Expand description
Inner word text object.
Selects the word under the cursor without surrounding whitespace.
Trait Implementations§
Source§impl Command for InnerWord
impl Command for InnerWord
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 InnerWord
impl CommandHandler for InnerWord
Source§fn execute(
&self,
runtime: &mut SessionRuntime<'_>,
args: &CommandContext,
) -> CommandResult
fn execute( &self, runtime: &mut SessionRuntime<'_>, args: &CommandContext, ) -> CommandResult
Execute the command. Read more
impl Copy for InnerWord
Auto Trait Implementations§
impl Forget for InnerWord
impl Freeze for InnerWord
impl Move for InnerWord
impl RefUnwindSafe for InnerWord
impl Send for InnerWord
impl Sync for InnerWord
impl Unpin for InnerWord
impl UnsafeUnpin for InnerWord
impl UnwindSafe for InnerWord
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