Struct endbasic_std::exec::ClearCommand
source · [−]pub struct ClearCommand { /* private fields */ }Expand description
The CLEAR command.
Implementations
sourceimpl ClearCommand
impl ClearCommand
Trait Implementations
sourceimpl Command for ClearCommand
impl Command for ClearCommand
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 ClearCommand
impl Send for ClearCommand
impl Sync for ClearCommand
impl Unpin for ClearCommand
impl UnwindSafe for ClearCommand
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