pub struct CombatFxHit {
pub entity_id: EntityId,
pub x: f32,
pub y: f32,
pub z: f32,
pub outcome: CombatFxHitOutcome,
}Expand description
One entity struck (or targeted) by a combat FX resolve.
Fields§
§entity_id: EntityId§x: f32§y: f32§z: f32§outcome: CombatFxHitOutcomeTrait Implementations§
Source§impl Clone for CombatFxHit
impl Clone for CombatFxHit
Source§fn clone(&self) -> CombatFxHit
fn clone(&self) -> CombatFxHit
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 CombatFxHit
impl Debug for CombatFxHit
Source§impl<'de> Deserialize<'de> for CombatFxHit
impl<'de> Deserialize<'de> for CombatFxHit
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
Source§impl PartialEq for CombatFxHit
impl PartialEq for CombatFxHit
Source§impl Serialize for CombatFxHit
impl Serialize for CombatFxHit
impl StructuralPartialEq for CombatFxHit
Auto Trait Implementations§
impl Freeze for CombatFxHit
impl RefUnwindSafe for CombatFxHit
impl Send for CombatFxHit
impl Sync for CombatFxHit
impl Unpin for CombatFxHit
impl UnsafeUnpin for CombatFxHit
impl UnwindSafe for CombatFxHit
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