#[non_exhaustive]pub enum PlayerEventKind {
DealtDamage,
DealtFinalBlow,
DealtHealing,
DealtKnockback,
Died,
EarnedElimination,
Joined,
Left,
ReceivedHealing,
ReceivedKnockback,
TookDamage,
}Expand description
A non-ongoing player event identity.
Workshop can add player-scoped event identities independently of this crate. Consumers should use a wildcard arm when matching this type.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
DealtDamage
DealtFinalBlow
DealtHealing
DealtKnockback
Died
EarnedElimination
Joined
Left
ReceivedHealing
ReceivedKnockback
TookDamage
Trait Implementations§
Source§impl Clone for PlayerEventKind
impl Clone for PlayerEventKind
impl Copy for PlayerEventKind
Source§impl Debug for PlayerEventKind
impl Debug for PlayerEventKind
impl Eq for PlayerEventKind
Source§impl PartialEq for PlayerEventKind
impl PartialEq for PlayerEventKind
impl StructuralPartialEq for PlayerEventKind
Auto Trait Implementations§
impl Freeze for PlayerEventKind
impl RefUnwindSafe for PlayerEventKind
impl Send for PlayerEventKind
impl Sync for PlayerEventKind
impl Unpin for PlayerEventKind
impl UnsafeUnpin for PlayerEventKind
impl UnwindSafe for PlayerEventKind
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