Struct evtc::strike::StrikeEvent
source · 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§
source§impl AsMut<CommonEvent> for StrikeEvent
impl AsMut<CommonEvent> for StrikeEvent
source§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.
source§impl AsRef<CommonEvent> for StrikeEvent
impl AsRef<CommonEvent> for StrikeEvent
source§fn as_ref(&self) -> &CommonEvent
fn as_ref(&self) -> &CommonEvent
Converts this type into a shared reference of the (usually inferred) input type.
source§impl Clone for StrikeEvent
impl Clone for StrikeEvent
source§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 moresource§impl Debug for StrikeEvent
impl Debug for StrikeEvent
source§impl Deref for StrikeEvent
impl Deref for StrikeEvent
source§impl DerefMut for StrikeEvent
impl DerefMut for StrikeEvent
source§impl<'de> Deserialize<'de> for StrikeEvent
impl<'de> Deserialize<'de> for StrikeEvent
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 Extract for StrikeEvent
impl Extract for StrikeEvent
source§impl From<StrikeEvent> for CommonEvent
impl From<StrikeEvent> for CommonEvent
source§fn from(value: StrikeEvent) -> Self
fn from(value: StrikeEvent) -> Self
Converts to this type from the input type.
source§impl Serialize for StrikeEvent
impl Serialize for StrikeEvent
source§impl TryExtract for StrikeEvent
impl TryExtract for StrikeEvent
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