pub enum ModifierKind {
Show 15 variants
Power,
Soul,
Level,
AttackCost,
CannotAttack,
CannotSideAttack,
CannotFrontalAttack,
CannotBecomeReverse,
CannotBeChosenByOpponentEffects,
CannotMoveStagePosition,
CannotPlayEventsFromHand,
CannotPlayBackupFromHand,
CannotStandDuringStandPhase,
BattleOpponentMoveToMemoryOnReverse,
EncoreStockCost,
}Expand description
Modifier kinds applied to cards or zones.
Variants§
Power
Modify card power.
Soul
Modify card soul.
Level
Modify effective level.
AttackCost
Modify stock cost to attack.
CannotAttack
Prevent declaring attacks.
CannotSideAttack
Prevent declaring side attacks.
CannotFrontalAttack
Prevent declaring frontal attacks.
CannotBecomeReverse
Prevent a character from becoming reversed.
CannotBeChosenByOpponentEffects
Prevent being chosen by opponent effects.
CannotMoveStagePosition
Prevent moving stage position.
CannotPlayEventsFromHand
Prevent playing events from hand.
CannotPlayBackupFromHand
Prevent playing backup from hand.
CannotStandDuringStandPhase
Prevent standing during the stand phase.
BattleOpponentMoveToMemoryOnReverse
On reverse, move the battle opponent to memory.
EncoreStockCost
Modify stock cost to encore.
Trait Implementations§
Source§impl Clone for ModifierKind
impl Clone for ModifierKind
Source§fn clone(&self) -> ModifierKind
fn clone(&self) -> ModifierKind
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 ModifierKind
impl Debug for ModifierKind
Source§impl<'de> Deserialize<'de> for ModifierKind
impl<'de> Deserialize<'de> for ModifierKind
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 ModifierKind
impl Hash for ModifierKind
Source§impl PartialEq for ModifierKind
impl PartialEq for ModifierKind
Source§impl Serialize for ModifierKind
impl Serialize for ModifierKind
impl Copy for ModifierKind
impl Eq for ModifierKind
impl StructuralPartialEq for ModifierKind
Auto Trait Implementations§
impl Freeze for ModifierKind
impl RefUnwindSafe for ModifierKind
impl Send for ModifierKind
impl Sync for ModifierKind
impl Unpin for ModifierKind
impl UnwindSafe for ModifierKind
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