Struct airmash_protocol::server::EventRepel [−][src]
pub struct EventRepel {
pub clock: u32,
pub id: Player,
pub pos: Position,
pub rot: Rotation,
pub speed: Velocity,
pub energy: Energy,
pub energy_regen: EnergyRegen,
pub players: Vec<EventRepelPlayer>,
pub mobs: Vec<EventRepelMob>,
}Event triggered when something (player or missile) is deflected by a goliath repel.
Fields
clock: u32
id: Player
pos: Position
rot: Rotation
speed: Velocity
energy: Energy
energy_regen: EnergyRegen
players: Vec<EventRepelPlayer>
mobs: Vec<EventRepelMob>
Trait Implementations
impl Clone for EventRepel[src]
impl Clone for EventRepelfn clone(&self) -> EventRepel[src]
fn clone(&self) -> EventRepelReturns 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 EventRepel[src]
impl Debug for EventRepelfn fmt(&self, f: &mut Formatter) -> Result[src]
fn fmt(&self, f: &mut Formatter) -> ResultFormats the value using the given formatter. Read more
impl From<EventRepel> for ServerPacket[src]
impl From<EventRepel> for ServerPacketfn from(v: EventRepel) -> Self[src]
fn from(v: EventRepel) -> SelfPerforms the conversion.
Auto Trait Implementations
impl Send for EventRepel
impl Send for EventRepelimpl Sync for EventRepel
impl Sync for EventRepel