Enum initiative_core::app::AppCommand
source · pub enum AppCommand {
About,
Changelog,
Debug,
Help,
Roll(String),
}
Variants§
Trait Implementations§
source§impl Autocomplete for AppCommand
impl Autocomplete for AppCommand
fn autocomplete<'life0, 'life1, 'async_trait>(
input: &'life0 str,
_app_meta: &'life1 AppMeta,
) -> Pin<Box<dyn Future<Output = Vec<AutocompleteSuggestion>> + 'async_trait>>where
'life0: 'async_trait,
'life1: 'async_trait,
source§impl Clone for AppCommand
impl Clone for AppCommand
source§fn clone(&self) -> AppCommand
fn clone(&self) -> AppCommand
Returns a copy 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 ContextAwareParse for AppCommand
impl ContextAwareParse for AppCommand
fn parse_input<'life0, 'life1, 'async_trait>(
input: &'life0 str,
_app_meta: &'life1 AppMeta,
) -> Pin<Box<dyn Future<Output = CommandMatches<Self>> + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
source§impl Debug for AppCommand
impl Debug for AppCommand
source§impl Display for AppCommand
impl Display for AppCommand
source§impl From<AppCommand> for CommandType
impl From<AppCommand> for CommandType
source§fn from(c: AppCommand) -> CommandType
fn from(c: AppCommand) -> CommandType
Converts to this type from the input type.
source§impl PartialEq for AppCommand
impl PartialEq for AppCommand
source§fn eq(&self, other: &AppCommand) -> bool
fn eq(&self, other: &AppCommand) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Runnable for AppCommand
impl Runnable for AppCommand
impl Eq for AppCommand
impl StructuralPartialEq for AppCommand
Auto Trait Implementations§
impl Freeze for AppCommand
impl RefUnwindSafe for AppCommand
impl Send for AppCommand
impl Sync for AppCommand
impl Unpin for AppCommand
impl UnwindSafe for AppCommand
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)