pub enum CommandAction<ID> {
Faint(PokemonIdentifier<ID>),
}Variants§
Faint(PokemonIdentifier<ID>)
Team ID + Pokemon Index
Trait Implementations§
Source§impl<ID: Clone> Clone for CommandAction<ID>
impl<ID: Clone> Clone for CommandAction<ID>
Source§fn clone(&self) -> CommandAction<ID>
fn clone(&self) -> CommandAction<ID>
Returns a duplicate 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<ID: Debug> Debug for CommandAction<ID>
impl<ID: Debug> Debug for CommandAction<ID>
Source§impl<'de, ID> Deserialize<'de> for CommandAction<ID>where
ID: Deserialize<'de>,
impl<'de, ID> Deserialize<'de> for CommandAction<ID>where
ID: Deserialize<'de>,
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl<ID> Freeze for CommandAction<ID>where
ID: Freeze,
impl<ID> RefUnwindSafe for CommandAction<ID>where
ID: RefUnwindSafe,
impl<ID> Send for CommandAction<ID>where
ID: Send,
impl<ID> Sync for CommandAction<ID>where
ID: Sync,
impl<ID> Unpin for CommandAction<ID>where
ID: Unpin,
impl<ID> UnwindSafe for CommandAction<ID>where
ID: UnwindSafe,
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