Struct airmash_protocol::server::EventBoost [−][src]
pub struct EventBoost {
pub clock: u32,
pub id: Player,
pub boost: bool,
pub pos: Position,
pub rot: Rotation,
pub speed: Velocity,
pub energy: Energy,
pub energy_regen: EnergyRegen,
}A predator has begun/stopped boosting
Fields
clock: u32
id: Player
boost: bool
pos: Position
rot: Rotation
speed: Velocity
energy: Energy
energy_regen: EnergyRegen
Trait Implementations
impl Copy for EventBoost[src]
impl Copy for EventBoostimpl Clone for EventBoost[src]
impl Clone for EventBoostfn clone(&self) -> EventBoost[src]
fn clone(&self) -> EventBoostReturns 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 EventBoost[src]
impl Debug for EventBoostfn fmt(&self, f: &mut Formatter) -> Result[src]
fn fmt(&self, f: &mut Formatter) -> ResultFormats the value using the given formatter. Read more
impl From<EventBoost> for ServerPacket[src]
impl From<EventBoost> for ServerPacketfn from(v: EventBoost) -> Self[src]
fn from(v: EventBoost) -> SelfPerforms the conversion.
Auto Trait Implementations
impl Send for EventBoost
impl Send for EventBoostimpl Sync for EventBoost
impl Sync for EventBoost