Struct airmash_protocol::server::EventBoost
[−]
[src]
pub struct EventBoost { pub clock: u32, pub id: u16, pub boost: bool, pub pos_x: f32, pub pos_y: f32, pub rot: f32, pub speed_x: f32, pub speed_y: f32, pub energy: f32, pub energy_regen: f32, }
Event for when a predator begins boosting.
Fields
clock: u32
id: u16
boost: bool
pos_x: f32
pos_y: f32
rot: f32
speed_x: f32
speed_y: f32
energy: f32
energy_regen: f32
Trait Implementations
impl Clone for EventBoost
[src]
fn clone(&self) -> EventBoost
[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 EventBoost
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more