pub enum ClientMove<ID> {
Move(MoveId, PP, Vec<Indexed<ID, ClientMoveAction>>),
UseItem(Indexed<ID, ItemId>),
Switch(usize),
}Variants§
Move(MoveId, PP, Vec<Indexed<ID, ClientMoveAction>>)
Id of move, PP lost from using the move, client move actions
UseItem(Indexed<ID, ItemId>)
Switch(usize)
Trait Implementations§
Source§impl<ID: Clone> Clone for ClientMove<ID>
impl<ID: Clone> Clone for ClientMove<ID>
Source§fn clone(&self) -> ClientMove<ID>
fn clone(&self) -> ClientMove<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 ClientMove<ID>
impl<ID: Debug> Debug for ClientMove<ID>
Source§impl<'de, ID> Deserialize<'de> for ClientMove<ID>where
ID: Deserialize<'de>,
impl<'de, ID> Deserialize<'de> for ClientMove<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 ClientMove<ID>where
ID: Freeze,
impl<ID> RefUnwindSafe for ClientMove<ID>where
ID: RefUnwindSafe,
impl<ID> Send for ClientMove<ID>where
ID: Send,
impl<ID> Sync for ClientMove<ID>where
ID: Sync,
impl<ID> Unpin for ClientMove<ID>where
ID: Unpin,
impl<ID> UnwindSafe for ClientMove<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