Struct endbasic_std::help::HelpCommand
source · [−]pub struct HelpCommand { /* private fields */ }Expand description
The HELP command.
Implementations
Trait Implementations
sourceimpl Command for HelpCommand
impl Command for HelpCommand
sourcefn metadata(&self) -> &CallableMetadata
fn metadata(&self) -> &CallableMetadata
Returns the metadata for this command. Read more
sourcefn exec<'life0, 'life1, 'life2, 'async_trait>(
&'life0 self,
args: &'life1 [(Option<Expr>, ArgSep)],
machine: &'life2 mut Machine
) -> Pin<Box<dyn Future<Output = CommandResult> + 'async_trait>> where
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
Self: 'async_trait,
fn exec<'life0, 'life1, 'life2, 'async_trait>(
&'life0 self,
args: &'life1 [(Option<Expr>, ArgSep)],
machine: &'life2 mut Machine
) -> Pin<Box<dyn Future<Output = CommandResult> + 'async_trait>> where
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
Self: 'async_trait,
Executes the command. Read more
Auto Trait Implementations
impl !RefUnwindSafe for HelpCommand
impl !Send for HelpCommand
impl !Sync for HelpCommand
impl Unpin for HelpCommand
impl !UnwindSafe for HelpCommand
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more