Struct airmash_protocol::server::PlayerPowerup[][src]

pub struct PlayerPowerup {
    pub ty: PowerupType,
    pub duration: u32,
}

The current player picked up a powerup.

Fields

Lifetime of the powerup, in milliseconds.

Trait Implementations

impl Copy for PlayerPowerup
[src]

impl Clone for PlayerPowerup
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for PlayerPowerup
[src]

Formats the value using the given formatter. Read more

impl From<PlayerPowerup> for ServerPacket
[src]

Performs the conversion.

Auto Trait Implementations