Struct evtc::buff::BuffRemoveEvent
source · pub struct BuffRemoveEvent {
pub common: CommonEvent,
pub remove: BuffRemoveKind,
pub removed_duration: i32,
pub removed_intensity: i32,
}
Expand description
Buff remove event.
Fields§
§common: CommonEvent
Common combat event information.
remove: BuffRemoveKind
Kind of buff remove.
removed_duration: i32
Removed buff(s) as duration.
removed_intensity: i32
Removed buff(s) as intensity.
Warning: may overflow on BuffRemove::All
.
Trait Implementations§
source§impl AsMut<CommonEvent> for BuffRemoveEvent
impl AsMut<CommonEvent> for BuffRemoveEvent
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 BuffRemoveEvent
impl AsRef<CommonEvent> for BuffRemoveEvent
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 BuffRemoveEvent
impl Clone for BuffRemoveEvent
source§fn clone(&self) -> BuffRemoveEvent
fn clone(&self) -> BuffRemoveEvent
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 BuffRemoveEvent
impl Debug for BuffRemoveEvent
source§impl Deref for BuffRemoveEvent
impl Deref for BuffRemoveEvent
source§impl DerefMut for BuffRemoveEvent
impl DerefMut for BuffRemoveEvent
source§impl<'de> Deserialize<'de> for BuffRemoveEvent
impl<'de> Deserialize<'de> for BuffRemoveEvent
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 BuffRemoveEvent
impl Extract for BuffRemoveEvent
source§impl From<BuffRemoveEvent> for CommonEvent
impl From<BuffRemoveEvent> for CommonEvent
source§fn from(value: BuffRemoveEvent) -> Self
fn from(value: BuffRemoveEvent) -> Self
Converts to this type from the input type.
source§impl Serialize for BuffRemoveEvent
impl Serialize for BuffRemoveEvent
source§impl TryExtract for BuffRemoveEvent
impl TryExtract for BuffRemoveEvent
Auto Trait Implementations§
impl Freeze for BuffRemoveEvent
impl RefUnwindSafe for BuffRemoveEvent
impl Send for BuffRemoveEvent
impl Sync for BuffRemoveEvent
impl Unpin for BuffRemoveEvent
impl UnwindSafe for BuffRemoveEvent
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