pub enum BrainstormMode {
Draw,
SalvageCharacter,
LookTopToHand,
LookTopToHandThenDiscard,
SalvageCharacterThenDiscard,
}Expand description
Brainstorm payoff mode.
Variants§
Draw
Draw a card for each climax revealed.
SalvageCharacter
Salvage a character for each climax revealed.
LookTopToHand
Look at the top cards and move eligible cards to hand.
LookTopToHandThenDiscard
Look at the top cards, move eligible cards to hand, then discard.
SalvageCharacterThenDiscard
Salvage characters, then discard.
Trait Implementations§
Source§impl Clone for BrainstormMode
impl Clone for BrainstormMode
Source§fn clone(&self) -> BrainstormMode
fn clone(&self) -> BrainstormMode
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 BrainstormMode
impl Debug for BrainstormMode
Source§impl<'de> Deserialize<'de> for BrainstormMode
impl<'de> Deserialize<'de> for BrainstormMode
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 BrainstormMode
impl Hash for BrainstormMode
Source§impl PartialEq for BrainstormMode
impl PartialEq for BrainstormMode
Source§impl Serialize for BrainstormMode
impl Serialize for BrainstormMode
impl Copy for BrainstormMode
impl Eq for BrainstormMode
impl StructuralPartialEq for BrainstormMode
Auto Trait Implementations§
impl Freeze for BrainstormMode
impl RefUnwindSafe for BrainstormMode
impl Send for BrainstormMode
impl Sync for BrainstormMode
impl Unpin for BrainstormMode
impl UnwindSafe for BrainstormMode
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§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more