Struct arcdps::evtc::event::StrikeEvent
pub struct StrikeEvent {
pub common: CommonEvent,
pub strike: Strike,
pub total_damage: i32,
pub shield_damage: u32,
pub target_downed: bool,
}
Expand description
Strike (direct damage) event.
Fields§
§common: CommonEvent
Common combat event information.
strike: Strike
Kind of strike.
total_damage: i32
Total damage inflicted.
shield_damage: u32
Damage inflicted to shields (barrier).
target_downed: bool
Whether target is currently downed.
Trait Implementations§
§impl AsMut<CommonEvent> for StrikeEvent
impl AsMut<CommonEvent> for StrikeEvent
§fn as_mut(&mut self) -> &mut CommonEvent
fn as_mut(&mut self) -> &mut CommonEvent
Converts this type into a mutable reference of the (usually inferred) input type.
§impl AsRef<CommonEvent> for StrikeEvent
impl AsRef<CommonEvent> for StrikeEvent
§fn as_ref(&self) -> &CommonEvent
fn as_ref(&self) -> &CommonEvent
Converts this type into a shared reference of the (usually inferred) input type.
§impl Clone for StrikeEvent
impl Clone for StrikeEvent
§fn clone(&self) -> StrikeEvent
fn clone(&self) -> StrikeEvent
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 more§impl Debug for StrikeEvent
impl Debug for StrikeEvent
§impl Deref for StrikeEvent
impl Deref for StrikeEvent
§type Target = CommonEvent
type Target = CommonEvent
The resulting type after dereferencing.
§fn deref(&self) -> &<StrikeEvent as Deref>::Target
fn deref(&self) -> &<StrikeEvent as Deref>::Target
Dereferences the value.
§impl DerefMut for StrikeEvent
impl DerefMut for StrikeEvent
§fn deref_mut(&mut self) -> &mut <StrikeEvent as Deref>::Target
fn deref_mut(&mut self) -> &mut <StrikeEvent as Deref>::Target
Mutably dereferences the value.
§impl<'de> Deserialize<'de> for StrikeEvent
impl<'de> Deserialize<'de> for StrikeEvent
§fn deserialize<__D>(
__deserializer: __D,
) -> Result<StrikeEvent, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<StrikeEvent, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
§impl Extract for StrikeEvent
impl Extract for StrikeEvent
§impl From<StrikeEvent> for CommonEvent
impl From<StrikeEvent> for CommonEvent
§fn from(value: StrikeEvent) -> CommonEvent
fn from(value: StrikeEvent) -> CommonEvent
Converts to this type from the input type.
§impl Serialize for StrikeEvent
impl Serialize for StrikeEvent
§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
§impl TryExtract for StrikeEvent
impl TryExtract for StrikeEvent
§fn can_extract(event: &Event) -> bool
fn can_extract(event: &Event) -> bool
Checks whether
Self
can be extracted from the event.§fn try_extract(event: &Event) -> Option<Self>
fn try_extract(event: &Event) -> Option<Self>
Attempts to extract
Self
from the combat event.Auto Trait Implementations§
impl Freeze for StrikeEvent
impl RefUnwindSafe for StrikeEvent
impl Send for StrikeEvent
impl Sync for StrikeEvent
impl Unpin for StrikeEvent
impl UnwindSafe for StrikeEvent
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,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)