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 PlayerRespawnimpl Clone for PlayerRespawn[src]
impl Clone for PlayerRespawnfn clone(&self) -> PlayerRespawn[src]
fn clone(&self) -> PlayerRespawnReturns 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 PlayerRespawnfn fmt(&self, f: &mut Formatter) -> Result[src]
fn fmt(&self, f: &mut Formatter) -> ResultFormats the value using the given formatter. Read more
impl From<PlayerRespawn> for ServerPacket[src]
impl From<PlayerRespawn> for ServerPacketfn from(v: PlayerRespawn) -> Self[src]
fn from(v: PlayerRespawn) -> SelfPerforms the conversion.
Auto Trait Implementations
impl Send for PlayerRespawn
impl Send for PlayerRespawnimpl Sync for PlayerRespawn
impl Sync for PlayerRespawn