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: u16
Id of player
health: f32
Health of player
health_regen: f32
Health regen rate of player.
Trait Implementations
impl Clone for PlayerHitPlayer
[src]
fn clone(&self) -> PlayerHitPlayer
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl Debug for PlayerHitPlayer
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more