pub struct DamageSpellProperties {
pub defense_type: i32,
pub hit_chance_flat: f64,
pub hit_chance_multiplier: f64,
pub target_resistance_flat: f64,
pub target_resistance_multiplier: f64,
pub dispel_type: i32,
pub dispel_resistance_flat: f64,
pub dispel_resistance_multiplier: f64,
pub mastery_affects_points: bool,
pub primary_cost_entry: u8,
pub secondary_cost_entry: u8,
}Expand description
Copy-only spell scalars consumed while compiling the combat damage plan.
Fields§
§defense_type: i32§hit_chance_flat: f64§hit_chance_multiplier: f64§target_resistance_flat: f64§target_resistance_multiplier: f64§dispel_type: i32§dispel_resistance_flat: f64§dispel_resistance_multiplier: f64§mastery_affects_points: bool§primary_cost_entry: u8§secondary_cost_entry: u8Trait Implementations§
Source§impl Clone for DamageSpellProperties
impl Clone for DamageSpellProperties
Source§fn clone(&self) -> DamageSpellProperties
fn clone(&self) -> DamageSpellProperties
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 DamageSpellProperties
impl Debug for DamageSpellProperties
Source§impl Default for DamageSpellProperties
impl Default for DamageSpellProperties
impl Copy for DamageSpellProperties
Auto Trait Implementations§
impl Freeze for DamageSpellProperties
impl RefUnwindSafe for DamageSpellProperties
impl Send for DamageSpellProperties
impl Sync for DamageSpellProperties
impl Unpin for DamageSpellProperties
impl UnsafeUnpin for DamageSpellProperties
impl UnwindSafe for DamageSpellProperties
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