pub(crate) struct PendingSpellImpact {Show 17 fields
pub(crate) spell_id: u32,
pub(crate) damage_effect: DamageEffectRef,
pub(crate) base_points: f64,
pub(crate) damage: RuntimeDamageDef,
pub(crate) is_pet: bool,
pub(crate) may_crit: bool,
pub(crate) attribute_flags: DamageFlags,
pub(crate) applies_aura: Option<LocalAuraIdx>,
pub(crate) applies_aura_duration_ms: Option<u32>,
pub(crate) followup_effects: SpellEffectRange,
pub(crate) source: ActorId,
pub(crate) target: EnemyIdx,
pub(crate) cast_complete_at: SimTime,
pub(crate) travel: SpellTravelData,
pub(crate) locked_source_transform: Option<SpatialTransform>,
pub(crate) locked_target_transform: Option<SpatialTransform>,
pub(crate) cast_destination: Option<SpatialTransform>,
}Fields§
§spell_id: u32§damage_effect: DamageEffectRef§base_points: f64§damage: RuntimeDamageDef§is_pet: bool§may_crit: bool§attribute_flags: DamageFlags§applies_aura: Option<LocalAuraIdx>§applies_aura_duration_ms: Option<u32>§followup_effects: SpellEffectRange§source: ActorId§target: EnemyIdx§cast_complete_at: SimTime§travel: SpellTravelData§locked_source_transform: Option<SpatialTransform>§locked_target_transform: Option<SpatialTransform>§cast_destination: Option<SpatialTransform>Trait Implementations§
Source§impl Clone for PendingSpellImpact
impl Clone for PendingSpellImpact
Source§fn clone(&self) -> PendingSpellImpact
fn clone(&self) -> PendingSpellImpact
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 PendingSpellImpact
impl Debug for PendingSpellImpact
impl Copy for PendingSpellImpact
Auto Trait Implementations§
impl Freeze for PendingSpellImpact
impl RefUnwindSafe for PendingSpellImpact
impl Send for PendingSpellImpact
impl Sync for PendingSpellImpact
impl Unpin for PendingSpellImpact
impl UnsafeUnpin for PendingSpellImpact
impl UnwindSafe for PendingSpellImpact
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