pub enum ApiType {
Show 207 variants
Abandon,
ActivateAbility,
AddOrRemoveCounter,
AddPhase,
AddTurn,
AdvanceCrank,
Airbend,
AlterAttribute,
Amass,
Animate,
AnimateAll,
Attach,
Ascend,
AssembleContraption,
AssignGroup,
Balance,
BecomeMonarch,
BecomesBlocked,
BidLife,
Blight,
Block,
Bond,
Branch,
Camouflage,
ChangeCombatants,
ChangeSpeed,
ChangeTargets,
ChangeText,
ChangeX,
ChangeZone,
ChangeZoneAll,
ChaosEnsues,
Charm,
ChooseCard,
ChooseCardName,
ChooseColor,
ChooseDirection,
ChooseEvenOdd,
ChooseGeneric,
ChooseNumber,
ChoosePlayer,
ChooseSector,
ChooseSource,
ChooseType,
ClaimThePrize,
Clash,
ClassLevelUp,
Cleanup,
Cloak,
Clone,
Connive,
CopyPermanent,
CopySpellAbility,
ControlSpell,
ControlPlayer,
Counter,
CountersMove,
CountersNote,
DamageAll,
DamagePrevent,
DealDamage,
Detain,
DayTime,
Debuff,
DelayedTrigger,
Destroy,
DestroyAll,
Dig,
DigMultiple,
DigUntil,
Discard,
Discover,
DrainMana,
Draft,
Draw,
EachDamage,
Earthbend,
Effect,
Encode,
EndCombatPhase,
EndTurn,
Endure,
ExchangeLife,
ExchangeLifeVariant,
ExchangeControl,
ExchangeControlVariant,
ExchangePower,
ExchangeZone,
ExchangeTextBox,
Explore,
Fight,
FlipACoin,
FlipOntoBattlefield,
Fog,
GainControl,
GainControlVariant,
GainLife,
GainOwnership,
GameDrawn,
GenericChoice,
Goad,
Haunt,
Heist,
Investigate,
Intensify,
ImmediateTrigger,
Incubate,
Learn,
LookAt,
LoseLife,
LosePerpetual,
LosesGame,
MakeCard,
Mana,
ManaReflected,
Manifest,
ManifestDread,
Meld,
Mill,
MoveCounter,
MultiplePiles,
MultiplyCounter,
MustBlock,
Mutate,
NameCard,
OpenAttraction,
PeekAndReveal,
PermanentCreature,
PermanentNoncreature,
Phases,
Planeswalk,
Play,
PlayLandVariant,
Poison,
PreventDamage,
Proliferate,
Protection,
ProtectionAll,
Pump,
PumpAll,
PutCounter,
PutCounterAll,
Radiation,
RearrangeTopOfLibrary,
Regenerate,
Regeneration,
RemoveCounter,
RemoveCounterAll,
RemoveFromCombat,
RemoveFromGame,
RemoveFromMatch,
ReorderZone,
Repeat,
RepeatEach,
ReplaceCounter,
ReplaceEffect,
ReplaceMana,
ReplaceDamage,
ReplaceToken,
ReplaceSplitDamage,
RestartGame,
Reveal,
RevealHand,
ReverseTurnOrder,
RingTemptsYou,
RollDice,
RollPlanarDice,
RunChaos,
Sacrifice,
SacrificeAll,
Scry,
Seek,
SetInMotion,
SetLife,
SetState,
Shuffle,
SkipPhase,
SkipTurn,
StoreSVar,
Subgame,
Surveil,
SwitchBlock,
TakeInitiative,
Tap,
TapAll,
TapOrUntap,
TapOrUntapAll,
TimeTravel,
Token,
TwoPiles,
Unattach,
UnlockDoor,
Untap,
UntapAll,
Venture,
VillainousChoice,
Vote,
WinsGame,
ZoneExchange,
BlankLine,
DamageResolve,
ChangeZoneResolve,
CompanionChoose,
InternalLegendaryRule,
InternalIgnoreEffect,
InternalRadiation,
Plot,
}Expand description
All known API types for spell ability effects.
Mirrors the Java ApiType enum with all its variants.
Variants§
Abandon
ActivateAbility
AddOrRemoveCounter
AddPhase
AddTurn
AdvanceCrank
Airbend
AlterAttribute
Amass
Animate
AnimateAll
Attach
Ascend
AssembleContraption
AssignGroup
Balance
BecomeMonarch
BecomesBlocked
BidLife
Blight
Block
Bond
Branch
Camouflage
ChangeCombatants
ChangeSpeed
ChangeTargets
ChangeText
ChangeX
ChangeZone
ChangeZoneAll
ChaosEnsues
Charm
ChooseCard
ChooseCardName
ChooseColor
ChooseDirection
ChooseEvenOdd
ChooseGeneric
ChooseNumber
ChoosePlayer
ChooseSector
ChooseSource
ChooseType
ClaimThePrize
Clash
ClassLevelUp
Cleanup
Cloak
Clone
Connive
CopyPermanent
CopySpellAbility
ControlSpell
ControlPlayer
Counter
CountersMove
CountersNote
DamageAll
DamagePrevent
DealDamage
Detain
DayTime
Debuff
DelayedTrigger
Destroy
DestroyAll
Dig
DigMultiple
DigUntil
Discard
Discover
DrainMana
Draft
Draw
EachDamage
Earthbend
Effect
Encode
EndCombatPhase
EndTurn
Endure
ExchangeLife
ExchangeLifeVariant
ExchangeControl
ExchangeControlVariant
ExchangePower
ExchangeZone
ExchangeTextBox
Explore
Fight
FlipACoin
FlipOntoBattlefield
Fog
GainControl
GainControlVariant
GainLife
GainOwnership
GameDrawn
GenericChoice
Goad
Haunt
Heist
Investigate
Intensify
ImmediateTrigger
Incubate
Learn
LookAt
LoseLife
LosePerpetual
LosesGame
MakeCard
Mana
ManaReflected
Manifest
ManifestDread
Meld
Mill
MoveCounter
MultiplePiles
MultiplyCounter
MustBlock
Mutate
NameCard
OpenAttraction
PeekAndReveal
PermanentCreature
PermanentNoncreature
Phases
Planeswalk
Play
PlayLandVariant
Poison
PreventDamage
Proliferate
Protection
ProtectionAll
Pump
PumpAll
PutCounter
PutCounterAll
Radiation
RearrangeTopOfLibrary
Regenerate
Regeneration
RemoveCounter
RemoveCounterAll
RemoveFromCombat
RemoveFromGame
RemoveFromMatch
ReorderZone
Repeat
RepeatEach
ReplaceCounter
ReplaceEffect
ReplaceMana
ReplaceDamage
ReplaceToken
ReplaceSplitDamage
RestartGame
Reveal
RevealHand
ReverseTurnOrder
RingTemptsYou
RollDice
RollPlanarDice
RunChaos
Sacrifice
SacrificeAll
Scry
Seek
SetInMotion
SetLife
SetState
Shuffle
SkipPhase
SkipTurn
StoreSVar
Subgame
Surveil
SwitchBlock
TakeInitiative
Tap
TapAll
TapOrUntap
TapOrUntapAll
TimeTravel
Token
TwoPiles
Unattach
UnlockDoor
Untap
UntapAll
Venture
VillainousChoice
Vote
WinsGame
ZoneExchange
BlankLine
DamageResolve
ChangeZoneResolve
CompanionChoose
InternalLegendaryRule
InternalIgnoreEffect
InternalRadiation
Plot
Implementations§
Trait Implementations§
impl Copy for ApiType
Source§impl<'de> Deserialize<'de> for ApiType
impl<'de> Deserialize<'de> for ApiType
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
impl Eq for ApiType
impl StructuralPartialEq for ApiType
Auto Trait Implementations§
impl Freeze for ApiType
impl RefUnwindSafe for ApiType
impl Send for ApiType
impl Sync for ApiType
impl Unpin for ApiType
impl UnsafeUnpin for ApiType
impl UnwindSafe for ApiType
Blanket Implementations§
Source§impl<T> ArchivePointee for T
impl<T> ArchivePointee for T
Source§type ArchivedMetadata = ()
type ArchivedMetadata = ()
The archived version of the pointer metadata for this type.
Source§fn pointer_metadata(
_: &<T as ArchivePointee>::ArchivedMetadata,
) -> <T as Pointee>::Metadata
fn pointer_metadata( _: &<T as ArchivePointee>::ArchivedMetadata, ) -> <T as Pointee>::Metadata
Converts some archived metadata to the pointer metadata for itself.
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> CallHasher for T
impl<T> CallHasher for T
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<F, W, T, D> Deserialize<With<T, W>, D> for F
impl<F, W, T, D> Deserialize<With<T, W>, D> for F
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.Source§impl<T> LayoutRaw for T
impl<T> LayoutRaw for T
Source§fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>
fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>
Gets the layout of the type.