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