pub enum ReferenceCommand {
Condition(Condition),
Item(Item),
ItemCategory(ItemCategory),
MagicItem(MagicItem),
OpenGameLicense,
Spell(Spell),
Spells,
Trait(Trait),
}
Variants§
Condition(Condition)
Item(Item)
ItemCategory(ItemCategory)
MagicItem(MagicItem)
OpenGameLicense
Spell(Spell)
Spells
Trait(Trait)
Trait Implementations§
source§impl Autocomplete for ReferenceCommand
impl Autocomplete for ReferenceCommand
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 ReferenceCommand
impl Clone for ReferenceCommand
source§fn clone(&self) -> ReferenceCommand
fn clone(&self) -> ReferenceCommand
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 ReferenceCommand
impl ContextAwareParse for ReferenceCommand
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 ReferenceCommand
impl Debug for ReferenceCommand
source§impl Display for ReferenceCommand
impl Display for ReferenceCommand
source§impl From<ReferenceCommand> for CommandType
impl From<ReferenceCommand> for CommandType
source§fn from(c: ReferenceCommand) -> CommandType
fn from(c: ReferenceCommand) -> CommandType
Converts to this type from the input type.
source§impl PartialEq for ReferenceCommand
impl PartialEq for ReferenceCommand
source§impl Runnable for ReferenceCommand
impl Runnable for ReferenceCommand
impl Eq for ReferenceCommand
impl StructuralPartialEq for ReferenceCommand
Auto Trait Implementations§
impl Freeze for ReferenceCommand
impl RefUnwindSafe for ReferenceCommand
impl Send for ReferenceCommand
impl Sync for ReferenceCommand
impl Unpin for ReferenceCommand
impl UnwindSafe for ReferenceCommand
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§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)