Struct airmash_protocol::server::PlayerRespawn
[−]
[src]
pub struct PlayerRespawn { pub id: u16, pub pos_x: f32, pub pos_y: f32, pub rot: f32, pub upgrades: u8, }
Event fired when a player respawns
Fields
id: u16
Id of respawning player
pos_x: f32
Player X position
pos_y: f32
Player Y position
rot: f32
Player rotation
upgrades: u8
Trait Implementations
impl Clone for PlayerRespawn
[src]
fn clone(&self) -> PlayerRespawn
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl Debug for PlayerRespawn
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more