pub struct PlayerRespawnEvent {
pub player_name: String,
pub uuid: String,
pub at_anchor: bool,
}Expand description
Fired when a player respawns after death (Post only).
Fields§
§player_name: String§uuid: String§at_anchor: boolTrue if respawning at a bed or respawn anchor; false for world spawn.
Trait Implementations§
Source§impl Clone for PlayerRespawnEvent
impl Clone for PlayerRespawnEvent
Source§fn clone(&self) -> PlayerRespawnEvent
fn clone(&self) -> PlayerRespawnEvent
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 moreAuto Trait Implementations§
impl Freeze for PlayerRespawnEvent
impl RefUnwindSafe for PlayerRespawnEvent
impl Send for PlayerRespawnEvent
impl Sync for PlayerRespawnEvent
impl Unpin for PlayerRespawnEvent
impl UnsafeUnpin for PlayerRespawnEvent
impl UnwindSafe for PlayerRespawnEvent
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