pub struct PlayerJoinedEvent;Expand description
A new player has joined the server.
Not cancellable — the player is already connected. The joining
player’s identity is available via ctx.player().
Trait Implementations§
Source§impl Clone for PlayerJoinedEvent
impl Clone for PlayerJoinedEvent
Source§fn clone(&self) -> PlayerJoinedEvent
fn clone(&self) -> PlayerJoinedEvent
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for PlayerJoinedEvent
impl Debug for PlayerJoinedEvent
Source§impl Event for PlayerJoinedEvent
impl Event for PlayerJoinedEvent
Source§fn is_cancelled(&self) -> bool
fn is_cancelled(&self) -> bool
Whether this event has been cancelled by a Validate handler.
Source§fn as_any_mut(&mut self) -> &mut dyn Any
fn as_any_mut(&mut self) -> &mut dyn Any
Upcasts to
&mut dyn Any for mutable type-erased dispatch.Source§impl EventRouting for PlayerJoinedEvent
impl EventRouting for PlayerJoinedEvent
Auto Trait Implementations§
impl Freeze for PlayerJoinedEvent
impl RefUnwindSafe for PlayerJoinedEvent
impl Send for PlayerJoinedEvent
impl Sync for PlayerJoinedEvent
impl Unpin for PlayerJoinedEvent
impl UnsafeUnpin for PlayerJoinedEvent
impl UnwindSafe for PlayerJoinedEvent
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