pub struct OverlordEventDamage {
pub by_entity_id: Option<EntityId>,
pub entity_id: Uuid,
pub damage: u64,
pub damage_data: CustomEventData,
pub origin: CombatEventOrigin,
pub source: CombatSource,
}Fields§
§by_entity_id: Option<EntityId>§entity_id: Uuid§damage: u64§damage_data: CustomEventData§origin: CombatEventOrigin§source: CombatSourceTrait Implementations§
Source§impl Clone for OverlordEventDamage
impl Clone for OverlordEventDamage
Source§fn clone(&self) -> OverlordEventDamage
fn clone(&self) -> OverlordEventDamage
Returns a copy 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 OverlordEventDamage
impl Debug for OverlordEventDamage
Source§impl EventStruct<OverlordEvent> for OverlordEventDamage
impl EventStruct<OverlordEvent> for OverlordEventDamage
fn from_enum(e: OverlordEvent) -> Self
fn to_enum(self) -> OverlordEvent
Source§impl PartialEq for OverlordEventDamage
impl PartialEq for OverlordEventDamage
impl Eq for OverlordEventDamage
impl StructuralPartialEq for OverlordEventDamage
Auto Trait Implementations§
impl Freeze for OverlordEventDamage
impl RefUnwindSafe for OverlordEventDamage
impl Send for OverlordEventDamage
impl Sync for OverlordEventDamage
impl Unpin for OverlordEventDamage
impl UnwindSafe for OverlordEventDamage
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<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more