#[non_exhaustive]#[repr(i32)]pub enum ModifierPropertyKind {
Show 37 variants
GenericDamage = 0,
Duration = 1,
Threat = 2,
Effect1 = 3,
ProcCharges = 4,
Range = 5,
Radius = 6,
CritChance = 7,
Points = 8,
ResistPushback = 9,
CastTime = 10,
Cooldown = 11,
Effect2 = 12,
TargetResistance = 13,
ResourceCost1 = 14,
CritDamage = 15,
HitChance = 16,
ChainTargets = 17,
ProcChance = 18,
TickTime = 19,
ChainMultiplier = 20,
GlobalCooldown = 21,
PeriodicAmount = 22,
Effect3 = 23,
Coefficient = 24,
ProcFrequency = 26,
Amplitude = 27,
DispelResistance = 28,
Doses = 31,
Effect4 = 32,
Effect5 = 33,
ResourceCost2 = 34,
ChainTargetRange = 35,
MaxStacks = 37,
ProcCooldown = 38,
ResourceCost3 = 39,
MaxTargets = 40,
}Expand description
Typed spell-modifier property 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.
GenericDamage = 0
Duration = 1
Threat = 2
Effect1 = 3
ProcCharges = 4
Range = 5
Radius = 6
CritChance = 7
Points = 8
ResistPushback = 9
CastTime = 10
Cooldown = 11
Effect2 = 12
TargetResistance = 13
ResourceCost1 = 14
CritDamage = 15
HitChance = 16
ChainTargets = 17
ProcChance = 18
TickTime = 19
ChainMultiplier = 20
GlobalCooldown = 21
PeriodicAmount = 22
Effect3 = 23
Coefficient = 24
ProcFrequency = 26
Amplitude = 27
DispelResistance = 28
Doses = 31
Effect4 = 32
Effect5 = 33
ResourceCost2 = 34
ChainTargetRange = 35
MaxStacks = 37
ProcCooldown = 38
ResourceCost3 = 39
MaxTargets = 40
Trait Implementations§
Source§impl Clone for ModifierPropertyKind
impl Clone for ModifierPropertyKind
Source§fn clone(&self) -> ModifierPropertyKind
fn clone(&self) -> ModifierPropertyKind
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 ModifierPropertyKind
impl Debug for ModifierPropertyKind
Source§impl PartialEq for ModifierPropertyKind
impl PartialEq for ModifierPropertyKind
impl Copy for ModifierPropertyKind
impl Eq for ModifierPropertyKind
impl StructuralPartialEq for ModifierPropertyKind
Auto Trait Implementations§
impl Freeze for ModifierPropertyKind
impl RefUnwindSafe for ModifierPropertyKind
impl Send for ModifierPropertyKind
impl Sync for ModifierPropertyKind
impl Unpin for ModifierPropertyKind
impl UnsafeUnpin for ModifierPropertyKind
impl UnwindSafe for ModifierPropertyKind
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