Struct airmash_protocol::server::PlayerFire [−][src]
pub struct PlayerFire {
pub clock: u32,
pub id: Player,
pub energy: Energy,
pub energy_regen: EnergyRegen,
pub projectiles: Vec<PlayerFireProjectile>,
}Packet for whan a player fires missiles.
Fields
clock: u32
id: Player
energy: Energy
energy_regen: EnergyRegen
projectiles: Vec<PlayerFireProjectile>
Trait Implementations
impl Clone for PlayerFire[src]
impl Clone for PlayerFirefn clone(&self) -> PlayerFire[src]
fn clone(&self) -> PlayerFireReturns 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 PlayerFire[src]
impl Debug for PlayerFirefn fmt(&self, f: &mut Formatter) -> Result[src]
fn fmt(&self, f: &mut Formatter) -> ResultFormats the value using the given formatter. Read more
impl From<PlayerFire> for ServerPacket[src]
impl From<PlayerFire> for ServerPacketfn from(v: PlayerFire) -> Self[src]
fn from(v: PlayerFire) -> SelfPerforms the conversion.
Auto Trait Implementations
impl Send for PlayerFire
impl Send for PlayerFireimpl Sync for PlayerFire
impl Sync for PlayerFire