pub struct TransitionalCommand {
canonical: String,
}
Expand description
Interfaces with the legacy command traits.
Fields§
§canonical: String
Implementations§
Trait Implementations§
Source§impl Autocomplete for TransitionalCommand
impl Autocomplete for TransitionalCommand
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 TransitionalCommand
impl Clone for TransitionalCommand
Source§fn clone(&self) -> TransitionalCommand
fn clone(&self) -> TransitionalCommand
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 TransitionalCommand
impl ContextAwareParse for TransitionalCommand
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 TransitionalCommand
impl Debug for TransitionalCommand
Source§impl Display for TransitionalCommand
impl Display for TransitionalCommand
Source§impl From<TransitionalCommand> for CommandType
impl From<TransitionalCommand> for CommandType
Source§fn from(input: TransitionalCommand) -> CommandType
fn from(input: TransitionalCommand) -> CommandType
Converts to this type from the input type.
Source§impl PartialEq for TransitionalCommand
impl PartialEq for TransitionalCommand
Source§impl Runnable for TransitionalCommand
impl Runnable for TransitionalCommand
impl Eq for TransitionalCommand
impl StructuralPartialEq for TransitionalCommand
Auto Trait Implementations§
impl Freeze for TransitionalCommand
impl RefUnwindSafe for TransitionalCommand
impl Send for TransitionalCommand
impl Sync for TransitionalCommand
impl Unpin for TransitionalCommand
impl UnwindSafe for TransitionalCommand
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