#[non_exhaustive]#[repr(i32)]pub enum SpellEffectKind {
Show 45 variants
None = 0,
SchoolDamage = 2,
Dummy = 3,
ApplyAura = 6,
PowerDrain = 8,
HealthLeech = 9,
Heal = 10,
WeaponDamageNoSchool = 17,
CreateItem = 24,
Summon = 28,
Energize = 30,
WeaponPercentDamage = 31,
TriggerMissile = 32,
ApplyPartyAura = 35,
Dispel = 38,
JumpDest = 42,
WeaponDamage = 58,
PowerBurn = 62,
TriggerSpell = 64,
ApplyRaidAura = 65,
HealMaxHealthPercent = 67,
InterruptCast = 68,
ScriptEffect = 77,
Attack = 78,
Charge = 96,
NormalizedWeaponDamage = 121,
StealBeneficialBuff = 126,
RedirectThreat = 130,
DirectHealPercent = 136,
EnergizePowerPercent = 137,
TriggerSpellWithValue = 142,
DirectionalKnockback = 144,
LeapBack = 149,
TriggerSpell2 = 151,
CreateHeirloom = 157,
CancelAura = 164,
ApplyAuraPet = 174,
CreateAreaTrigger = 179,
ApplyPlayerPetAura = 202,
RemoveAura = 203,
TeleportUnits = 252,
JumpCharge = 254,
ModifiedCrafting = 288,
ReduceRemainingCooldown = 290,
ImmediateCooldownRechargeCategory = 293,
}Expand description
Typed spell-effect identities used by shared engine code.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
None = 0
SchoolDamage = 2
Dummy = 3
ApplyAura = 6
PowerDrain = 8
HealthLeech = 9
Heal = 10
WeaponDamageNoSchool = 17
CreateItem = 24
Summon = 28
Energize = 30
WeaponPercentDamage = 31
TriggerMissile = 32
ApplyPartyAura = 35
Dispel = 38
JumpDest = 42
WeaponDamage = 58
PowerBurn = 62
TriggerSpell = 64
ApplyRaidAura = 65
HealMaxHealthPercent = 67
InterruptCast = 68
ScriptEffect = 77
Attack = 78
Charge = 96
NormalizedWeaponDamage = 121
StealBeneficialBuff = 126
RedirectThreat = 130
DirectHealPercent = 136
EnergizePowerPercent = 137
TriggerSpellWithValue = 142
DirectionalKnockback = 144
LeapBack = 149
TriggerSpell2 = 151
CreateHeirloom = 157
CancelAura = 164
ApplyAuraPet = 174
CreateAreaTrigger = 179
ApplyPlayerPetAura = 202
RemoveAura = 203
TeleportUnits = 252
JumpCharge = 254
ModifiedCrafting = 288
ReduceRemainingCooldown = 290
ImmediateCooldownRechargeCategory = 293
Trait Implementations§
Source§impl Clone for SpellEffectKind
impl Clone for SpellEffectKind
Source§fn clone(&self) -> SpellEffectKind
fn clone(&self) -> SpellEffectKind
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for SpellEffectKind
impl Debug for SpellEffectKind
Source§impl PartialEq for SpellEffectKind
impl PartialEq for SpellEffectKind
impl Copy for SpellEffectKind
impl Eq for SpellEffectKind
impl StructuralPartialEq for SpellEffectKind
Auto Trait Implementations§
impl Freeze for SpellEffectKind
impl RefUnwindSafe for SpellEffectKind
impl Send for SpellEffectKind
impl Sync for SpellEffectKind
impl Unpin for SpellEffectKind
impl UnsafeUnpin for SpellEffectKind
impl UnwindSafe for SpellEffectKind
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
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
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>
Converts
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>
Converts
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