Expand description
Ability – helper functions for in-play abilities.
Mirrors Java’s Ability.java (base class for abilities on permanents).
In Rust the subclass is flattened into SpellAbility.
Functions§
- can_
play - Whether this in-play ability can currently be played.
Mirrors Java’s
Ability.canPlay().
Type Aliases§
- Ability
- Type alias for SpellAbility when used as an in-play ability.
In Java,
Abilityis a subclass; in Rust it’s the same struct withis_activated = true.