Struct airmash_protocol::server::PlayerHit [−][src]
pub struct PlayerHit {
pub id: Mob,
pub ty: MobType,
pub pos: Position,
pub owner: Player,
pub players: Vec<PlayerHitPlayer>,
}Event for when players have been hit by a missile.
Fields
id: Mob
ty: MobType
pos: Position
owner: Player
players: Vec<PlayerHitPlayer>
Trait Implementations
impl Clone for PlayerHit[src]
impl Clone for PlayerHitfn clone(&self) -> PlayerHit[src]
fn clone(&self) -> PlayerHitReturns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0[src]
fn clone_from(&mut self, source: &Self)1.0.0
[src]Performs copy-assignment from source. Read more
impl Debug for PlayerHit[src]
impl Debug for PlayerHitfn fmt(&self, f: &mut Formatter) -> Result[src]
fn fmt(&self, f: &mut Formatter) -> ResultFormats the value using the given formatter. Read more
impl From<PlayerHit> for ServerPacket[src]
impl From<PlayerHit> for ServerPacket