Struct airmash_protocol::server::PlayerPowerup
[−]
[src]
pub struct PlayerPowerup { pub ty: u8, pub duration: u32, }
Event fired when a player picks up a powerup.
Fields
ty: u8
The type of the powerup
duration: u32
The duration of the powerup
Trait Implementations
impl Clone for PlayerPowerup
[src]
fn clone(&self) -> PlayerPowerup
[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 PlayerPowerup
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more