Struct evtc::buff::BuffDamageEvent
source · 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§
source§impl AsMut<CommonEvent> for BuffDamageEvent
impl AsMut<CommonEvent> for BuffDamageEvent
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 BuffDamageEvent
impl AsRef<CommonEvent> for BuffDamageEvent
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 BuffDamageEvent
impl Clone for BuffDamageEvent
source§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 moresource§impl Debug for BuffDamageEvent
impl Debug for BuffDamageEvent
source§impl Deref for BuffDamageEvent
impl Deref for BuffDamageEvent
source§impl DerefMut for BuffDamageEvent
impl DerefMut for BuffDamageEvent
source§impl<'de> Deserialize<'de> for BuffDamageEvent
impl<'de> Deserialize<'de> for BuffDamageEvent
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 BuffDamageEvent
impl Extract for BuffDamageEvent
source§impl From<BuffDamageEvent> for CommonEvent
impl From<BuffDamageEvent> for CommonEvent
source§fn from(value: BuffDamageEvent) -> Self
fn from(value: BuffDamageEvent) -> Self
Converts to this type from the input type.
source§impl Serialize for BuffDamageEvent
impl Serialize for BuffDamageEvent
source§impl TryExtract for BuffDamageEvent
impl TryExtract for BuffDamageEvent
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