Expand description
SpellAbilityStackInstance – stack entry for spells/abilities.
Mirrors Java’s SpellAbilityStackInstance.java.
The core struct is StackEntry in crate::zone::magic_stack.
This module re-exports it and provides additional query methods
that mirror the Java API.
Re-exports§
pub use crate::zone::magic_stack::StackEntry;
Functions§
- next_id
- Get the next unique stack instance ID.
Mirrors Java’s
SpellAbilityStackInstance.nextId(). Delegates toStackEntry::next_id()in zone/magic_stack.rs. - set_
triggering_ object - Set a triggering object on a stack entry.
Delegates to
StackEntry::set_triggering_object(). - update_
target - Update a target card on a stack entry.
Delegates to
StackEntry::update_target(). - update_
triggering_ object - Update a triggering object on a stack entry.
Delegates to
StackEntry::update_triggering_object().