pub struct OnPlayerJoinedGame;Expand description
Called after a player joins the game. This is not called when loading 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 OnPlayerJoinedGame
impl Clone for OnPlayerJoinedGame
Source§fn clone(&self) -> OnPlayerJoinedGame
fn clone(&self) -> OnPlayerJoinedGame
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 OnPlayerJoinedGame
Source§impl Debug for OnPlayerJoinedGame
impl Debug for OnPlayerJoinedGame
impl Eq for OnPlayerJoinedGame
Source§impl PartialEq for OnPlayerJoinedGame
impl PartialEq for OnPlayerJoinedGame
impl StructuralPartialEq for OnPlayerJoinedGame
Auto Trait Implementations§
impl Freeze for OnPlayerJoinedGame
impl RefUnwindSafe for OnPlayerJoinedGame
impl Send for OnPlayerJoinedGame
impl Sync for OnPlayerJoinedGame
impl Unpin for OnPlayerJoinedGame
impl UnsafeUnpin for OnPlayerJoinedGame
impl UnwindSafe for OnPlayerJoinedGame
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