pub struct OnPlayerLeftGame;Expand description
Called after a player leaves the game. This is not called when closing a save file in singleplayer, as the player doesn’t actually leave the game, and the save is just on pause until they rejoin.
Implementations§
Trait Implementations§
Source§impl Clone for OnPlayerLeftGame
impl Clone for OnPlayerLeftGame
Source§fn clone(&self) -> OnPlayerLeftGame
fn clone(&self) -> OnPlayerLeftGame
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 OnPlayerLeftGame
Source§impl Debug for OnPlayerLeftGame
impl Debug for OnPlayerLeftGame
impl Eq for OnPlayerLeftGame
Source§impl PartialEq for OnPlayerLeftGame
impl PartialEq for OnPlayerLeftGame
impl StructuralPartialEq for OnPlayerLeftGame
Auto Trait Implementations§
impl Freeze for OnPlayerLeftGame
impl RefUnwindSafe for OnPlayerLeftGame
impl Send for OnPlayerLeftGame
impl Sync for OnPlayerLeftGame
impl Unpin for OnPlayerLeftGame
impl UnsafeUnpin for OnPlayerLeftGame
impl UnwindSafe for OnPlayerLeftGame
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