pub struct InnerFunction;Trait Implementations§
Source§impl Clone for InnerFunction
impl Clone for InnerFunction
Source§impl Command for InnerFunction
impl Command for InnerFunction
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 InnerFunction
impl CommandHandler for InnerFunction
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 InnerFunction
Source§impl Debug for InnerFunction
impl Debug for InnerFunction
Auto Trait Implementations§
impl Forget for InnerFunction
impl Freeze for InnerFunction
impl Move for InnerFunction
impl RefUnwindSafe for InnerFunction
impl Send for InnerFunction
impl Sync for InnerFunction
impl Unpin for InnerFunction
impl UnsafeUnpin for InnerFunction
impl UnwindSafe for InnerFunction
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