Struct airmash_protocol::server::PlayerType[][src]

pub struct PlayerType {
    pub id: Player,
    pub ty: PlaneType,
}

A player has switched planes.

Fields

Trait Implementations

impl Copy for PlayerType
[src]

impl Clone for PlayerType
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for PlayerType
[src]

Formats the value using the given formatter. Read more

impl From<PlayerType> for ServerPacket
[src]

Performs the conversion.

Auto Trait Implementations

impl Send for PlayerType

impl Sync for PlayerType