Struct airmash_protocol::server::PlayerKill [] [src]

pub struct PlayerKill {
    pub id: u16,
    pub killer: u16,
    pub pos_x: f32,
    pub pos_y: f32,
}

Event for when a player has been killed.

Fields

Id of killed player

Id of the player that killed them

X position of killed player

Y position of killed player

Trait Implementations

impl Clone for PlayerKill
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Debug for PlayerKill
[src]

[src]

Formats the value using the given formatter. Read more

impl Copy for PlayerKill
[src]

Auto Trait Implementations

impl Send for PlayerKill

impl Sync for PlayerKill