pub enum PlayerAction {
Show 17 variants
Add {},
Attach {},
Change {},
Choose {},
Distribute {},
Draw {},
LookAt {},
Lose {},
Pay {},
Prevent {},
Put {},
Return {},
Remove {},
Roll {},
Search {},
Shuffle {},
Spend {},
}Variants§
Add
Attach
Change
Choose
Distribute
Draw
LookAt
Lose
Pay
Prevent
Put
Return
Remove
Roll
Search
Shuffle
Spend
Implementations§
Source§impl PlayerAction
impl PlayerAction
pub fn try_from_span(span: &Span<'_>) -> Option<Self>
Trait Implementations§
Source§impl Clone for PlayerAction
impl Clone for PlayerAction
Source§fn clone(&self) -> PlayerAction
fn clone(&self) -> PlayerAction
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 Debug for PlayerAction
impl Debug for PlayerAction
Source§impl<'de> Deserialize<'de> for PlayerAction
impl<'de> Deserialize<'de> for PlayerAction
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
Source§impl Hash for PlayerAction
impl Hash for PlayerAction
Source§impl Idris for PlayerAction
impl Idris for PlayerAction
Source§impl Ord for PlayerAction
impl Ord for PlayerAction
Source§fn cmp(&self, other: &PlayerAction) -> Ordering
fn cmp(&self, other: &PlayerAction) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for PlayerAction
impl PartialEq for PlayerAction
Source§impl PartialOrd for PlayerAction
impl PartialOrd for PlayerAction
Source§impl Serialize for PlayerAction
impl Serialize for PlayerAction
impl Copy for PlayerAction
impl Eq for PlayerAction
impl StructuralPartialEq for PlayerAction
Auto Trait Implementations§
impl Freeze for PlayerAction
impl RefUnwindSafe for PlayerAction
impl Send for PlayerAction
impl Sync for PlayerAction
impl Unpin for PlayerAction
impl UnwindSafe for PlayerAction
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