pub struct OnPrePlayerLeftGameEvent {
pub name: &'static str,
pub player_index: u32,
pub reason: &'static str,
pub tick: u32,
}Expand description
Called before a player leaves the game.
Fields§
§name: &'static str§player_index: u32§reason: &'static str§tick: u32Trait Implementations§
Source§impl Clone for OnPrePlayerLeftGameEvent
impl Clone for OnPrePlayerLeftGameEvent
Source§fn clone(&self) -> OnPrePlayerLeftGameEvent
fn clone(&self) -> OnPrePlayerLeftGameEvent
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 OnPrePlayerLeftGameEvent
Source§impl Debug for OnPrePlayerLeftGameEvent
impl Debug for OnPrePlayerLeftGameEvent
Source§impl Default for OnPrePlayerLeftGameEvent
impl Default for OnPrePlayerLeftGameEvent
Source§fn default() -> OnPrePlayerLeftGameEvent
fn default() -> OnPrePlayerLeftGameEvent
Returns the “default value” for a type. Read more
Source§impl PartialEq for OnPrePlayerLeftGameEvent
impl PartialEq for OnPrePlayerLeftGameEvent
impl StructuralPartialEq for OnPrePlayerLeftGameEvent
Auto Trait Implementations§
impl Freeze for OnPrePlayerLeftGameEvent
impl RefUnwindSafe for OnPrePlayerLeftGameEvent
impl Send for OnPrePlayerLeftGameEvent
impl Sync for OnPrePlayerLeftGameEvent
impl Unpin for OnPrePlayerLeftGameEvent
impl UnsafeUnpin for OnPrePlayerLeftGameEvent
impl UnwindSafe for OnPrePlayerLeftGameEvent
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