pub struct InnerSquareBracket;Expand description
Inner square bracket text object.
Selects text inside square brackets, excluding the brackets.
Trait Implementations§
Source§impl Clone for InnerSquareBracket
impl Clone for InnerSquareBracket
Source§impl Command for InnerSquareBracket
impl Command for InnerSquareBracket
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 InnerSquareBracket
impl CommandHandler for InnerSquareBracket
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 InnerSquareBracket
Source§impl Debug for InnerSquareBracket
impl Debug for InnerSquareBracket
Auto Trait Implementations§
impl Forget for InnerSquareBracket
impl Freeze for InnerSquareBracket
impl Move for InnerSquareBracket
impl RefUnwindSafe for InnerSquareBracket
impl Send for InnerSquareBracket
impl Sync for InnerSquareBracket
impl Unpin for InnerSquareBracket
impl UnsafeUnpin for InnerSquareBracket
impl UnwindSafe for InnerSquareBracket
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