pub struct ResolvedDamageDef {
pub kind: ResolvedDamageKind,
pub coefficient: f64,
pub base_points: f64,
pub is_physical: bool,
pub effect_index: u8,
pub weapon: ResolvedDamageWeapon,
}Expand description
Auto-resolved damage descriptor for a spell.
Fields§
§kind: ResolvedDamageKind§coefficient: f64§base_points: f64§is_physical: bool§effect_index: u8§weapon: ResolvedDamageWeaponTrait Implementations§
Source§impl Clone for ResolvedDamageDef
impl Clone for ResolvedDamageDef
Source§fn clone(&self) -> ResolvedDamageDef
fn clone(&self) -> ResolvedDamageDef
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 ResolvedDamageDef
impl Debug for ResolvedDamageDef
impl Copy for ResolvedDamageDef
Auto Trait Implementations§
impl Freeze for ResolvedDamageDef
impl RefUnwindSafe for ResolvedDamageDef
impl Send for ResolvedDamageDef
impl Sync for ResolvedDamageDef
impl Unpin for ResolvedDamageDef
impl UnsafeUnpin for ResolvedDamageDef
impl UnwindSafe for ResolvedDamageDef
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