Struct airmash_protocol::server::PlayerRespawn [−][src]
pub struct PlayerRespawn { pub id: Player, pub pos: Position, pub rot: Rotation, pub upgrades: Upgrades, }
Packet for when a player respawns.
Fields
id: Player
pos: Position
rot: Rotation
upgrades: Upgrades
Trait Implementations
impl Copy for PlayerRespawn
[src]
impl Copy for PlayerRespawn
impl Clone for PlayerRespawn
[src]
impl Clone for PlayerRespawn
fn clone(&self) -> PlayerRespawn
[src]
fn clone(&self) -> PlayerRespawn
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0
[src]Performs copy-assignment from source
. Read more
impl Debug for PlayerRespawn
[src]
impl Debug for PlayerRespawn
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl From<PlayerRespawn> for ServerPacket
[src]
impl From<PlayerRespawn> for ServerPacket
fn from(v: PlayerRespawn) -> Self
[src]
fn from(v: PlayerRespawn) -> Self
Performs the conversion.
Auto Trait Implementations
impl Send for PlayerRespawn
impl Send for PlayerRespawn
impl Sync for PlayerRespawn
impl Sync for PlayerRespawn