pub enum AlternativeCost {
Show 30 variants
Flashback,
Spectacle,
Evoke,
Dash,
Blitz,
Escape,
Overload,
Madness,
Foretell,
Emerge,
Suspend,
Morph,
Megamorph,
Bestow,
Warp,
SacrificeAlt,
Plot,
Awaken,
Disturb,
Harmonize,
Freerunning,
Impending,
Mayhem,
MTMtE,
Mutate,
Prowl,
Sneak,
Surge,
WebSlinging,
Plotted,
}Expand description
Alternative casting costs — mirrors Java’s AlternativeCost.
Tracks how a spell was cast so resolution can apply the correct behaviour.
Variants§
Flashback
Spectacle
Evoke
Dash
Blitz
Escape
Overload
Madness
Foretell
Emerge
Suspend
Morph
Cast face-down as a 2/2 creature for {3} (Morph).
Megamorph
Cast face-down as a 2/2 creature for {3}, +1/+1 counter on turn face-up (Megamorph).
Bestow
Cast as an Aura with enchant creature for the bestow cost.
Warp
Cast for warp cost; exile at beginning of next end step.
SacrificeAlt
Sacrifice-based alternative cost (e.g. Fireblast: sacrifice two Mountains).
Plot
Cast a plotted card from exile for free.
Awaken
Awaken — cast with awaken cost to animate a land.
Disturb
Disturb — cast from graveyard transformed.
Harmonize
Harmonize — alternative cost for harmony effects.
Freerunning
Freerunning — reduced cost when dealing combat damage.
Impending
Impending — cast as a non-creature with time counters.
Mayhem
Mayhem — alternative cost for mayhem effects.
MTMtE
MTMtE — More Than Meets the Eye (Transformers) alternative cost.
Mutate
Mutate — cast on top of or under another creature.
Prowl
Prowl — reduced cost when a creature of the same type dealt combat damage.
Sneak
Sneak — alternative cost for sneaking into play.
Surge
Surge — reduced cost when you or a teammate cast another spell this turn.
WebSlinging
WebSlinging — alternative cost for web-slinging effects.
Plotted
Plotted — the card was previously plotted and is now being cast.
Implementations§
Trait Implementations§
Source§impl Clone for AlternativeCost
impl Clone for AlternativeCost
Source§fn clone(&self) -> AlternativeCost
fn clone(&self) -> AlternativeCost
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreimpl Copy for AlternativeCost
Source§impl Debug for AlternativeCost
impl Debug for AlternativeCost
Source§impl<'de> Deserialize<'de> for AlternativeCost
impl<'de> Deserialize<'de> for AlternativeCost
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>,
impl Eq for AlternativeCost
Source§impl PartialEq for AlternativeCost
impl PartialEq for AlternativeCost
Source§impl Serialize for AlternativeCost
impl Serialize for AlternativeCost
impl StructuralPartialEq for AlternativeCost
Auto Trait Implementations§
impl Freeze for AlternativeCost
impl RefUnwindSafe for AlternativeCost
impl Send for AlternativeCost
impl Sync for AlternativeCost
impl Unpin for AlternativeCost
impl UnsafeUnpin for AlternativeCost
impl UnwindSafe for AlternativeCost
Blanket Implementations§
Source§impl<T> ArchivePointee for T
impl<T> ArchivePointee for T
Source§type ArchivedMetadata = ()
type ArchivedMetadata = ()
Source§fn pointer_metadata(
_: &<T as ArchivePointee>::ArchivedMetadata,
) -> <T as Pointee>::Metadata
fn pointer_metadata( _: &<T as ArchivePointee>::ArchivedMetadata, ) -> <T as Pointee>::Metadata
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
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
key and return true if they are equal.