#[non_exhaustive]pub enum ScalarField {
BasePoints,
ApCoef,
SpCoef,
Amplitude,
Period,
Coefficient,
}Expand description
Game-data field a ScalarRef::EffectRef resolves against.
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.
BasePoints
ApCoef
SpCoef
Amplitude
DBC EffectAmplitude; retained for scalar consumers that explicitly need it.
Period
DBC EffectAuraPeriod (SpellEffect.period) in milliseconds.
Coefficient
Trait Implementations§
Source§impl Clone for ScalarField
impl Clone for ScalarField
Source§fn clone(&self) -> ScalarField
fn clone(&self) -> ScalarField
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 ScalarField
impl Debug for ScalarField
Source§impl<'de> Deserialize<'de> for ScalarField
impl<'de> Deserialize<'de> for ScalarField
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>,
Deserialize this value from the given Serde deserializer. Read more
impl Copy for ScalarField
Auto Trait Implementations§
impl Freeze for ScalarField
impl RefUnwindSafe for ScalarField
impl Send for ScalarField
impl Sync for ScalarField
impl Unpin for ScalarField
impl UnsafeUnpin for ScalarField
impl UnwindSafe for ScalarField
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