Struct airmash_protocol::server::PlayerHitPlayer [] [src]

pub struct PlayerHitPlayer {
    pub id: u16,
    pub health: f32,
    pub health_regen: f32,
}

Data on a player that has been hit by a shot fired by another player.

Fields

Id of player

Health of player

Health regen rate of player.

Trait Implementations

impl Clone for PlayerHitPlayer
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Debug for PlayerHitPlayer
[src]

[src]

Formats the value using the given formatter. Read more

impl Copy for PlayerHitPlayer
[src]

Auto Trait Implementations