pub enum PlayerEventKind {
DealtDamage,
DealtFinalBlow,
DealtHealing,
DealtKnockback,
Died,
EarnedElimination,
Joined,
Left,
ReceivedHealing,
ReceivedKnockback,
TookDamage,
}Expand description
A non-ongoing player event identity.
Variants§
DealtDamage
DealtFinalBlow
DealtHealing
DealtKnockback
Died
EarnedElimination
Joined
Left
ReceivedHealing
ReceivedKnockback
TookDamage
Implementations§
Source§impl PlayerEventKind
impl PlayerEventKind
Sourcepub fn catalog_id(self) -> &'static str
pub fn catalog_id(self) -> &'static str
The locale-independent catalog identity for this event.
Trait Implementations§
Source§impl Clone for PlayerEventKind
impl Clone for PlayerEventKind
Source§fn clone(&self) -> PlayerEventKind
fn clone(&self) -> PlayerEventKind
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl 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