Struct airmash_protocol::server::PlayerUpgrade
[−]
[src]
pub struct PlayerUpgrade { pub upgrades: u16, pub ty: u8, pub speed: u8, pub defense: u8, pub energy: u8, pub missile: u8, }
Event fired when a player upgrades themself.
Fields
upgrades: u16
ty: u8
speed: u8
defense: u8
energy: u8
missile: u8
Trait Implementations
impl Clone for PlayerUpgrade
[src]
fn clone(&self) -> PlayerUpgrade
[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 PlayerUpgrade
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more