Struct airmash_protocol::server::PlayerNew[][src]

pub struct PlayerNew {
    pub id: Player,
    pub status: PlayerStatus,
    pub name: String,
    pub ty: PlaneType,
    pub team: Team,
    pub pos: Position,
    pub rot: Rotation,
    pub flag: FlagCode,
    pub upgrades: Upgrades,
}

Data for a newly-joined player.

Fields

Trait Implementations

impl Clone for PlayerNew
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for PlayerNew
[src]

Formats the value using the given formatter. Read more

impl From<PlayerNew> for ServerPacket
[src]

Performs the conversion.

Auto Trait Implementations

impl Send for PlayerNew

impl Sync for PlayerNew