pub struct OpenLineAbove;Expand description
Open line above and enter insert mode (O).
Trait Implementations§
Source§impl Clone for OpenLineAbove
impl Clone for OpenLineAbove
Source§fn clone(&self) -> OpenLineAbove
fn clone(&self) -> OpenLineAbove
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 OpenLineAbove
impl Command for OpenLineAbove
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 OpenLineAbove
impl CommandHandler for OpenLineAbove
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 OpenLineAbove
impl Debug for OpenLineAbove
Source§impl Default for OpenLineAbove
impl Default for OpenLineAbove
Source§fn default() -> OpenLineAbove
fn default() -> OpenLineAbove
Returns the “default value” for a type. Read more
impl Copy for OpenLineAbove
Auto Trait Implementations§
impl Freeze for OpenLineAbove
impl RefUnwindSafe for OpenLineAbove
impl Send for OpenLineAbove
impl Sync for OpenLineAbove
impl Unpin for OpenLineAbove
impl UnsafeUnpin for OpenLineAbove
impl UnwindSafe for OpenLineAbove
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