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