pub enum AbilityTiming {
Show 31 variants
BeginTurn,
BeginStandPhase,
AfterStandPhase,
BeginDrawPhase,
AfterDrawPhase,
BeginClockPhase,
AfterClockPhase,
LevelUp,
BeginMainPhase,
BeginClimaxPhase,
AfterClimaxPhase,
BeginAttackPhase,
BeginAttackDeclarationStep,
BeginEncoreStep,
EndPhase,
EndPhaseCleanup,
EndOfAttack,
AttackDeclaration,
OtherAttackDeclaration,
TriggerResolution,
Counter,
UseAct,
DamageResolution,
Encore,
OnPlay,
OnReverse,
BattleOpponentReverse,
DamageDealtNotCanceled,
DamageReceivedNotCanceled,
DamageDealtCanceled,
DamageReceivedCanceled,
}Expand description
Timing windows for triggered abilities.
Variants§
BeginTurn
At the beginning of the turn.
BeginStandPhase
At the beginning of the stand phase.
AfterStandPhase
After the stand phase completes.
BeginDrawPhase
At the beginning of the draw phase.
AfterDrawPhase
After the draw phase completes.
BeginClockPhase
At the beginning of the clock phase.
AfterClockPhase
After the clock phase completes.
LevelUp
During the level-up procedure.
BeginMainPhase
At the beginning of the main phase.
BeginClimaxPhase
At the beginning of the climax phase.
AfterClimaxPhase
After the climax phase completes.
BeginAttackPhase
At the beginning of the attack phase.
BeginAttackDeclarationStep
At the beginning of the attack declaration step.
BeginEncoreStep
At the beginning of the encore step.
EndPhase
During the end phase.
EndPhaseCleanup
During end-phase cleanup.
EndOfAttack
After an attack finishes resolving.
AttackDeclaration
When declaring an attack.
OtherAttackDeclaration
When the opponent declares an attack.
TriggerResolution
During trigger resolution.
Counter
During counter timing.
UseAct
When using an ACT ability.
DamageResolution
During damage resolution.
Encore
During encore timing.
OnPlay
When the source is played.
OnReverse
When the source becomes reversed.
BattleOpponentReverse
When the battle opponent becomes reversed.
DamageDealtNotCanceled
After dealing damage that was not canceled.
DamageReceivedNotCanceled
After receiving damage that was not canceled.
DamageDealtCanceled
After dealing damage that was canceled.
DamageReceivedCanceled
After receiving damage that was canceled.
Trait Implementations§
Source§impl Clone for AbilityTiming
impl Clone for AbilityTiming
Source§fn clone(&self) -> AbilityTiming
fn clone(&self) -> AbilityTiming
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for AbilityTiming
impl Debug for AbilityTiming
Source§impl<'de> Deserialize<'de> for AbilityTiming
impl<'de> Deserialize<'de> for AbilityTiming
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>,
Source§impl Hash for AbilityTiming
impl Hash for AbilityTiming
Source§impl PartialEq for AbilityTiming
impl PartialEq for AbilityTiming
Source§impl Serialize for AbilityTiming
impl Serialize for AbilityTiming
impl Copy for AbilityTiming
impl Eq for AbilityTiming
impl StructuralPartialEq for AbilityTiming
Auto Trait Implementations§
impl Freeze for AbilityTiming
impl RefUnwindSafe for AbilityTiming
impl Send for AbilityTiming
impl Sync for AbilityTiming
impl Unpin for AbilityTiming
impl UnwindSafe for AbilityTiming
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
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>
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>
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