pub enum PrivateEvent {
Show 13 variants
CanAnnounce(Announcement),
CannotAnnounce(Announcement),
CardAvailabe(Card),
CardUnavailabe(Card),
CardPlayable(Card),
CardNotPlayable(Card),
TrumpChangePossible(Card),
TrumpChangeImpossible(Card),
AllowPlayCard,
AllowDrawCard,
AllowAnnounce,
AllowCloseTalon,
AllowSwapTrump,
}
Variants§
CanAnnounce(Announcement)
CannotAnnounce(Announcement)
CardAvailabe(Card)
CardPlayable(Card)
CardNotPlayable(Card)
TrumpChangePossible(Card)
TrumpChangeImpossible(Card)
AllowPlayCard
AllowDrawCard
AllowAnnounce
AllowCloseTalon
AllowSwapTrump
Trait Implementations§
Source§impl Clone for PrivateEvent
impl Clone for PrivateEvent
Source§fn clone(&self) -> PrivateEvent
fn clone(&self) -> PrivateEvent
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 Debug for PrivateEvent
impl Debug for PrivateEvent
Source§impl<'de> Deserialize<'de> for PrivateEvent
impl<'de> Deserialize<'de> for PrivateEvent
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 Freeze for PrivateEvent
impl RefUnwindSafe for PrivateEvent
impl Send for PrivateEvent
impl Sync for PrivateEvent
impl Unpin for PrivateEvent
impl UnwindSafe for PrivateEvent
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