Struct airmash_protocol::server::PlayerUpdate[][src]

pub struct PlayerUpdate {
    pub clock: u32,
    pub id: Player,
    pub keystate: ServerKeyState,
    pub upgrades: Upgrades,
    pub pos: Position,
    pub rot: Rotation,
    pub speed: Velocity,
}

Movement update for a player.

Fields

Trait Implementations

impl Copy for PlayerUpdate
[src]

impl Clone for PlayerUpdate
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for PlayerUpdate
[src]

Formats the value using the given formatter. Read more

impl From<PlayerUpdate> for ServerPacket
[src]

Performs the conversion.

Auto Trait Implementations