Enum LegacyEventKind
pub enum LegacyEventKind {
Activation(ActivationEvent),
BuffRemove(BuffRemoveEvent),
BuffApply(BuffApplyEvent),
BuffDamage(BuffDamageEvent),
Event(EventKind),
}Expand description
Legacy event.
Variants§
Activation(ActivationEvent)
Activation (cast) event.
BuffRemove(BuffRemoveEvent)
Buff removed.
BuffApply(BuffApplyEvent)
Buff applied.
BuffDamage(BuffDamageEvent)
Buff damage.
Event(EventKind)
Regular event.
Implementations§
§impl LegacyEventKind
impl LegacyEventKind
Trait Implementations§
§impl Clone for LegacyEventKind
impl Clone for LegacyEventKind
§fn clone(&self) -> LegacyEventKind
fn clone(&self) -> LegacyEventKind
Returns a duplicate 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 LegacyEventKind
impl Debug for LegacyEventKind
§impl<'de> Deserialize<'de> for LegacyEventKind
impl<'de> Deserialize<'de> for LegacyEventKind
§fn deserialize<__D>(
__deserializer: __D,
) -> Result<LegacyEventKind, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<LegacyEventKind, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
§impl From<Event> for LegacyEventKind
impl From<Event> for LegacyEventKind
§fn from(event: Event) -> LegacyEventKind
fn from(event: Event) -> LegacyEventKind
Converts to this type from the input type.
§impl Serialize for LegacyEventKind
impl Serialize for LegacyEventKind
§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
Auto Trait Implementations§
impl Freeze for LegacyEventKind
impl RefUnwindSafe for LegacyEventKind
impl Send for LegacyEventKind
impl Sync for LegacyEventKind
impl Unpin for LegacyEventKind
impl UnsafeUnpin for LegacyEventKind
impl UnwindSafe for LegacyEventKind
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