Struct arcdps::evtc::event::BuffDamageEvent
pub struct BuffDamageEvent {
pub common: CommonEvent,
pub buff: u8,
pub damage: i32,
pub cycle: BuffCycle,
pub result: BuffDamageResult,
}
Expand description
Buff damage event.
For example from a Condition.
Fields§
§common: CommonEvent
Common combat event information.
buff: u8
Buff.
damage: i32
Buff damage amount.
cycle: BuffCycle
Whether damage happened on tick (cycle) or reactively (off-cycle).
result: BuffDamageResult
Result of buff damage.
Trait Implementations§
§impl AsMut<CommonEvent> for BuffDamageEvent
impl AsMut<CommonEvent> for BuffDamageEvent
§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 BuffDamageEvent
impl AsRef<CommonEvent> for BuffDamageEvent
§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 BuffDamageEvent
impl Clone for BuffDamageEvent
§fn clone(&self) -> BuffDamageEvent
fn clone(&self) -> BuffDamageEvent
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 BuffDamageEvent
impl Debug for BuffDamageEvent
§impl Deref for BuffDamageEvent
impl Deref for BuffDamageEvent
§type Target = CommonEvent
type Target = CommonEvent
The resulting type after dereferencing.
§fn deref(&self) -> &<BuffDamageEvent as Deref>::Target
fn deref(&self) -> &<BuffDamageEvent as Deref>::Target
Dereferences the value.
§impl DerefMut for BuffDamageEvent
impl DerefMut for BuffDamageEvent
§fn deref_mut(&mut self) -> &mut <BuffDamageEvent as Deref>::Target
fn deref_mut(&mut self) -> &mut <BuffDamageEvent as Deref>::Target
Mutably dereferences the value.
§impl<'de> Deserialize<'de> for BuffDamageEvent
impl<'de> Deserialize<'de> for BuffDamageEvent
§fn deserialize<__D>(
__deserializer: __D,
) -> Result<BuffDamageEvent, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<BuffDamageEvent, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
§impl Extract for BuffDamageEvent
impl Extract for BuffDamageEvent
§impl From<BuffDamageEvent> for CommonEvent
impl From<BuffDamageEvent> for CommonEvent
§fn from(value: BuffDamageEvent) -> CommonEvent
fn from(value: BuffDamageEvent) -> CommonEvent
Converts to this type from the input type.
§impl Serialize for BuffDamageEvent
impl Serialize for BuffDamageEvent
§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 BuffDamageEvent
impl TryExtract for BuffDamageEvent
§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 BuffDamageEvent
impl RefUnwindSafe for BuffDamageEvent
impl Send for BuffDamageEvent
impl Sync for BuffDamageEvent
impl Unpin for BuffDamageEvent
impl UnwindSafe for BuffDamageEvent
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
)